pub struct FileNode {
pub kind: NodeKind,
pub attr: String,
pub file_attr: Option<String>,
pub handle: String,
pub parent: String,
pub ts: i64,
pub user: String,
pub key: Option<String>,
pub s_user: Option<String>,
pub s_key: Option<String>,
pub sz: Option<u64>,
}Expand description
Represents a node in MEGA.
Fields§
§kind: NodeKind§attr: String§file_attr: Option<String>§handle: String§parent: String§ts: i64§user: String§key: Option<String>§s_user: Option<String>§s_key: Option<String>§sz: Option<u64>Trait Implementations§
source§impl<'de> Deserialize<'de> for FileNode
impl<'de> Deserialize<'de> for FileNode
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 PartialEq<FileNode> for FileNode
impl PartialEq<FileNode> for FileNode
impl StructuralPartialEq for FileNode
Auto Trait Implementations§
impl RefUnwindSafe for FileNode
impl Send for FileNode
impl Sync for FileNode
impl Unpin for FileNode
impl UnwindSafe for FileNode
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