Trait asn1rs::model::TagProperty

source ·
pub trait TagProperty {
    // Required methods
    fn tag(&self) -> Option<Tag>;
    fn set_tag(&mut self, tag: Tag);
    fn reset_tag(&mut self);

    // Provided methods
    fn with_tag_opt(self, tag: Option<Tag>) -> Self
       where Self: Sized { ... }
    fn with_tag(self, tag: Tag) -> Self
       where Self: Sized { ... }
    fn without_tag(self) -> Self
       where Self: Sized { ... }
}

Required Methods§

source

fn tag(&self) -> Option<Tag>

source

fn set_tag(&mut self, tag: Tag)

source

fn reset_tag(&mut self)

Provided Methods§

source

fn with_tag_opt(self, tag: Option<Tag>) -> Selfwhere Self: Sized,

source

fn with_tag(self, tag: Tag) -> Selfwhere Self: Sized,

source

fn without_tag(self) -> Selfwhere Self: Sized,

Implementors§