Struct cyfs_lib::FileDirRef
source · pub struct FileDirRef {
pub dir_id: NamedObjectId<NamedObjType<DirDescContent, DirBodyContent>>,
pub inner_path: String,
}
Fields
dir_id: NamedObjectId<NamedObjType<DirDescContent, DirBodyContent>>
inner_path: String
Trait Implementations
sourceimpl Clone for FileDirRef
impl Clone for FileDirRef
sourcefn clone(&self) -> FileDirRef
fn clone(&self) -> FileDirRef
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 moresourceimpl Debug for FileDirRef
impl Debug for FileDirRef
sourceimpl JsonCodec<FileDirRef> for FileDirRef
impl JsonCodec<FileDirRef> for FileDirRef
fn encode_json(&self) -> Map<String, Value>
fn decode_json(obj: &Map<String, Value>) -> Result<FileDirRef, BuckyError>
fn encode_string(&self) -> String
fn decode_string(value: &str) -> Result<T, BuckyError>
fn decode_value(value: &Value) -> Result<T, BuckyError>
fn encode_value(&self) -> Value
Auto Trait Implementations
impl RefUnwindSafe for FileDirRef
impl Send for FileDirRef
impl Sync for FileDirRef
impl Unpin for FileDirRef
impl UnwindSafe for FileDirRef
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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