Struct cyfs_lib::NONSlimObjectInfo
source · pub struct NONSlimObjectInfo {
pub object_id: ObjectId,
pub object_raw: Option<Vec<u8>>,
pub object: Option<Arc<AnyNamedObject>>,
}
Fields§
§object_id: ObjectId
§object_raw: Option<Vec<u8>>
§object: Option<Arc<AnyNamedObject>>
Implementations§
source§impl NONSlimObjectInfo
impl NONSlimObjectInfo
pub fn new( object_id: ObjectId, object_raw: Option<Vec<u8>>, object: Option<Arc<AnyNamedObject>> ) -> Self
pub fn decode(&mut self) -> BuckyResult<()>
pub fn verify(&self) -> BuckyResult<()>
pub fn decode_and_verify(&mut self) -> BuckyResult<()>
Trait Implementations§
source§impl Clone for NONSlimObjectInfo
impl Clone for NONSlimObjectInfo
source§fn clone(&self) -> NONSlimObjectInfo
fn clone(&self) -> NONSlimObjectInfo
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