Struct c509_certificate::general_names::GeneralNames
source · pub struct GeneralNames(Vec<GeneralName>);
Expand description
A struct represents an array of GeneralName
.
GeneralNames = [ + GeneralName ]
Tuple Fields§
§0: Vec<GeneralName>
Implementations§
source§impl GeneralNames
impl GeneralNames
sourcepub fn add_gn(&mut self, gn: GeneralName)
pub fn add_gn(&mut self, gn: GeneralName)
Add a new GeneralName
to the GeneralNames
.
sourcepub fn get_inner(&self) -> &Vec<GeneralName>
pub fn get_inner(&self) -> &Vec<GeneralName>
Get the inner of GeneralName
.
Trait Implementations§
source§impl Clone for GeneralNames
impl Clone for GeneralNames
source§fn clone(&self) -> GeneralNames
fn clone(&self) -> GeneralNames
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GeneralNames
impl Debug for GeneralNames
source§impl Decode<'_, ()> for GeneralNames
impl Decode<'_, ()> for GeneralNames
source§impl Default for GeneralNames
impl Default for GeneralNames
source§impl<'de> Deserialize<'de> for GeneralNames
impl<'de> Deserialize<'de> for GeneralNames
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Encode<()> for GeneralNames
impl Encode<()> for GeneralNames
source§impl PartialEq for GeneralNames
impl PartialEq for GeneralNames
source§impl Serialize for GeneralNames
impl Serialize for GeneralNames
impl StructuralPartialEq for GeneralNames
Auto Trait Implementations§
impl Freeze for GeneralNames
impl RefUnwindSafe for GeneralNames
impl Send for GeneralNames
impl Sync for GeneralNames
impl Unpin for GeneralNames
impl UnwindSafe for GeneralNames
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)