pub struct FolderNode {
pub name: String,
pub create_time: Date,
pub modify_time: Date,
pub tags: Tags,
pub owner: Did,
pub mode: u32,
}Fields§
§name: String§create_time: Date§modify_time: Date§owner: Did§mode: u32Implementations§
Source§impl FolderNode
impl FolderNode
pub fn modify( &mut self, context: &mut FileModificationContext, modification: &FileModification, ) -> Result<()>
Trait Implementations§
Source§impl Clone for FolderNode
impl Clone for FolderNode
Source§fn clone(&self) -> FolderNode
fn clone(&self) -> FolderNode
Returns a duplicate 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 moreSource§impl Debug for FolderNode
impl Debug for FolderNode
Source§impl<'de> Deserialize<'de> for FolderNode
impl<'de> Deserialize<'de> for FolderNode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for FolderNode
impl Hash for FolderNode
Source§impl Ord for FolderNode
impl Ord for FolderNode
Source§fn cmp(&self, other: &FolderNode) -> Ordering
fn cmp(&self, other: &FolderNode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FolderNode
impl PartialEq for FolderNode
Source§impl PartialOrd for FolderNode
impl PartialOrd for FolderNode
Source§impl Serialize for FolderNode
impl Serialize for FolderNode
impl Eq for FolderNode
impl StructuralPartialEq for FolderNode
Auto Trait Implementations§
impl Freeze for FolderNode
impl RefUnwindSafe for FolderNode
impl Send for FolderNode
impl Sync for FolderNode
impl Unpin for FolderNode
impl UnsafeUnpin for FolderNode
impl UnwindSafe for FolderNode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more