Struct xplr::app::Node [−][src]
pub struct Node {}Show fields
pub parent: String, pub relative_path: String, pub absolute_path: String, pub extension: String, pub is_dir: bool, pub is_file: bool, pub is_symlink: bool, pub is_broken: bool, pub is_readonly: bool, pub mime_essence: String, pub size: u64, pub human_size: String, pub permissions: Permissions, pub canonical: Option<ResolvedNode>, pub symlink: Option<ResolvedNode>,
Fields
parent: String
relative_path: String
absolute_path: String
extension: String
is_dir: bool
is_file: bool
is_symlink: bool
is_broken: bool
is_readonly: bool
mime_essence: String
size: u64
human_size: String
permissions: Permissions
canonical: Option<ResolvedNode>
symlink: Option<ResolvedNode>
Implementations
Get a reference to the node’s relative path.
Get a reference to the node’s is symlink.
Get a reference to the node’s is readonly.
Get a reference to the node’s mime essence.
Get a reference to the node’s canonical.
Get a reference to the node’s symlink.
Get a reference to the node’s absolute path.
Get a reference to the node’s human size.
Get a reference to the node’s permissions.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Node
impl UnwindSafe for Node
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.