pub struct AggregateMarking {
pub marking_character_set: EntityMarkingCharacterSet,
pub marking_string: String,
}Expand description
6.2.4 Aggregate Marking record
Fields§
§marking_character_set: EntityMarkingCharacterSet§marking_string: StringImplementations§
Source§impl AggregateMarking
impl AggregateMarking
pub fn new(marking: String, character_set: EntityMarkingCharacterSet) -> Self
pub fn new_ascii<S: Into<String>>(marking: S) -> Self
pub fn with_marking<S: Into<String>>(self, marking: S) -> Self
pub fn record_length(&self) -> u16
Trait Implementations§
Source§impl Clone for AggregateMarking
impl Clone for AggregateMarking
Source§fn clone(&self) -> AggregateMarking
fn clone(&self) -> AggregateMarking
Returns a duplicate 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 AggregateMarking
impl Debug for AggregateMarking
Source§impl Default for AggregateMarking
impl Default for AggregateMarking
Source§fn default() -> AggregateMarking
fn default() -> AggregateMarking
Returns the “default value” for a type. Read more
Source§impl Display for AggregateMarking
impl Display for AggregateMarking
Source§impl FromStr for AggregateMarking
impl FromStr for AggregateMarking
Source§impl PartialEq for AggregateMarking
impl PartialEq for AggregateMarking
impl StructuralPartialEq for AggregateMarking
Auto Trait Implementations§
impl Freeze for AggregateMarking
impl RefUnwindSafe for AggregateMarking
impl Send for AggregateMarking
impl Sync for AggregateMarking
impl Unpin for AggregateMarking
impl UnwindSafe for AggregateMarking
Blanket Implementations§
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