Struct ldap3::asn1::StructureTag
[−]
[src]
pub struct StructureTag { pub class: TagClass, pub id: u64, pub payload: PL, }
ASN.1 structure prepared for serialization.
Fields
class: TagClass
id: u64
payload: PL
Methods
impl StructureTag
[src]
fn match_class(self, class: TagClass) -> Option<StructureTag>
fn match_id(self, id: u64) -> Option<StructureTag>
fn expect_constructed(self) -> Option<Vec<StructureTag>>
fn expect_primitive(self) -> Option<Vec<u8>>
Trait Implementations
impl Eq for StructureTag
[src]
impl PartialEq<StructureTag> for StructureTag
[src]
fn eq(&self, __arg_0: &StructureTag) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &StructureTag) -> bool
This method tests for !=
.
impl Debug for StructureTag
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Clone for StructureTag
[src]
fn clone(&self) -> StructureTag
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more