pub struct Cigar {
pub verfer: Option<Verfer>,
/* private fields */
}Fields§
§verfer: Option<Verfer>Implementations§
Source§impl Cigar
impl Cigar
pub fn new( raw: Option<&[u8]>, code: Option<&str>, soft: Option<&str>, rize: Option<usize>, verfer: Option<Verfer>, ) -> Result<Self, MatterError>
pub fn from_raw( raw: Option<&[u8]>, verfer: Option<Verfer>, ) -> Result<Self, MatterError>
pub fn from_qb64( qb64: &str, verfer: Option<Verfer>, ) -> Result<Self, MatterError>
Sourcepub fn set_verfer(&mut self, verfer: Verfer)
pub fn set_verfer(&mut self, verfer: Verfer)
Set the verfer
Sourcepub fn clear_verfer(&mut self)
pub fn clear_verfer(&mut self)
Clear the verfer
Trait Implementations§
Source§impl Matter for Cigar
impl Matter for Cigar
Source§fn is_transferable(&self) -> bool
fn is_transferable(&self) -> bool
Returns whether the derivation code is transferable
Source§fn is_digestive(&self) -> bool
fn is_digestive(&self) -> bool
Returns whether the code represents a digest
Source§fn is_prefixive(&self) -> bool
fn is_prefixive(&self) -> bool
Returns whether the code represents a prefix
Source§fn is_special(&self) -> bool
fn is_special(&self) -> bool
Returns whether the code represents a prefix
fn as_any(&self) -> &dyn Any
Auto Trait Implementations§
impl Freeze for Cigar
impl RefUnwindSafe for Cigar
impl Send for Cigar
impl Sync for Cigar
impl Unpin for Cigar
impl UnsafeUnpin for Cigar
impl UnwindSafe for Cigar
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