Struct cyfs_base::ObjectSigns
source · [−]pub struct ObjectSigns { /* private fields */ }Implementations
sourceimpl ObjectSigns
impl ObjectSigns
pub fn new() -> ObjectSignsBuilder
pub fn is_desc_signs_empty(&self) -> bool
pub fn is_body_signs_empty(&self) -> bool
pub fn is_empty(&self) -> bool
pub fn desc_signs(&self) -> Option<&Vec<Signature>>
pub fn body_signs(&self) -> Option<&Vec<Signature>>
pub fn set_desc_sign(&mut self, sign: Signature)
pub fn set_body_sign(&mut self, sign: Signature)
pub fn push_desc_sign(&mut self, sign: Signature)
pub fn push_body_sign(&mut self, sign: Signature)
pub fn latest_body_sign_time(&self) -> u64
pub fn latest_desc_sign_time(&self) -> u64
pub fn latest_sign_time(&self) -> u64
pub fn merge(&mut self, other: &ObjectSigns) -> usize
Trait Implementations
sourceimpl Clone for ObjectSigns
impl Clone for ObjectSigns
sourcefn clone(&self) -> ObjectSigns
fn clone(&self) -> ObjectSigns
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ObjectSigns
impl Debug for ObjectSigns
sourceimpl Default for ObjectSigns
impl Default for ObjectSigns
sourceimpl ObjectFormat for ObjectSigns
impl ObjectFormat for ObjectSigns
fn format_json(&self) -> Value
sourceimpl<'de> RawDecodeWithContext<'de, &NamedObjectContext> for ObjectSigns
impl<'de> RawDecodeWithContext<'de, &NamedObjectContext> for ObjectSigns
fn raw_decode_with_context(
buf: &'de [u8],
ctx: &NamedObjectContext
) -> BuckyResult<(Self, &'de [u8])>
sourceimpl RawEncodeWithContext<NamedObjectContext> for ObjectSigns
impl RawEncodeWithContext<NamedObjectContext> for ObjectSigns
fn raw_measure_with_context(
&self,
ctx: &mut NamedObjectContext,
purpose: &Option<RawEncodePurpose>
) -> BuckyResult<usize>
fn raw_encode_with_context<'a>(
&self,
buf: &'a mut [u8],
ctx: &mut NamedObjectContext,
purpose: &Option<RawEncodePurpose>
) -> BuckyResult<&'a mut [u8]>
fn raw_tail_encode_with_context<'a>(
&self,
buf: &'a mut [u8],
context: &mut Context,
purpose: &Option<RawEncodePurpose>
) -> BuckyResult<&'a [u8]>
Auto Trait Implementations
impl RefUnwindSafe for ObjectSigns
impl Send for ObjectSigns
impl Sync for ObjectSigns
impl Unpin for ObjectSigns
impl UnwindSafe for ObjectSigns
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more