Struct cyfs_base::ObjectSigns
source · pub struct ObjectSigns { /* private fields */ }
Implementations§
source§impl 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 clear_desc_signs(&mut self)
pub fn clear_body_signs(&mut self)
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
pub fn merge_ex(&mut self, other: &ObjectSigns, desc: bool, body: bool) -> usize
Trait Implementations§
source§impl Clone for ObjectSigns
impl Clone for ObjectSigns
source§fn clone(&self) -> ObjectSigns
fn clone(&self) -> ObjectSigns
Returns a copy 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 more