Struct c509_certificate::general_names::data::GeneralNameData
source · pub(crate) struct GeneralNameData {
int_to_name_table: IntegerToGNTable,
int_to_type_table: HashMap<i16, GeneralNameValueType>,
}
Expand description
A struct of data that contains lookup table for GeneralName
.
Fields§
§int_to_name_table: IntegerToGNTable
A table of integer to GeneralNameTypeRegistry
, provide a bidirectional lookup.
int_to_type_table: HashMap<i16, GeneralNameValueType>
A table of integer to GeneralNameValueType
, provide a lookup for the type of
GeneralName
value.
Implementations§
source§impl GeneralNameData
impl GeneralNameData
sourcepub(crate) fn get_int_to_name_table(&self) -> &IntegerToGNTable
pub(crate) fn get_int_to_name_table(&self) -> &IntegerToGNTable
Get the int_to_name_table
.
sourcepub(crate) fn get_int_to_type_table(
&self,
) -> &HashMap<i16, GeneralNameValueType>
pub(crate) fn get_int_to_type_table( &self, ) -> &HashMap<i16, GeneralNameValueType>
Get the int_to_type_table
.
Auto Trait Implementations§
impl Freeze for GeneralNameData
impl RefUnwindSafe for GeneralNameData
impl Send for GeneralNameData
impl Sync for GeneralNameData
impl Unpin for GeneralNameData
impl UnwindSafe for GeneralNameData
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