Struct xplr::ui::NodeUiMetadata[][src]

pub struct NodeUiMetadata {
Show 26 fields pub parent: String, pub relative_path: String, pub absolute_path: String, pub extension: String, pub is_symlink: bool, pub is_broken: bool, pub is_dir: bool, pub is_file: bool, pub is_readonly: bool, pub mime_essence: String, pub size: u64, pub human_size: String, pub permissions: Permissions, pub canonical: Option<ResolvedNodeUiMetadata>, pub symlink: Option<ResolvedNodeUiMetadata>, pub index: usize, pub relative_index: usize, pub is_before_focus: bool, pub is_after_focus: bool, pub tree: String, pub prefix: String, pub suffix: String, pub is_selected: bool, pub is_focused: bool, pub total: usize, pub meta: HashMap<String, String>,
}

Fields

parent: Stringrelative_path: Stringabsolute_path: Stringextension: Stringis_symlink: boolis_broken: boolis_dir: boolis_file: boolis_readonly: boolmime_essence: Stringsize: u64human_size: Stringpermissions: Permissionscanonical: Option<ResolvedNodeUiMetadata>symlink: Option<ResolvedNodeUiMetadata>index: usizerelative_index: usizeis_before_focus: boolis_after_focus: booltree: Stringprefix: Stringsuffix: Stringis_selected: boolis_focused: booltotal: usizemeta: HashMap<String, String>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.