pub struct SftpListEntry {
pub name: String,
pub path: String,
pub kind: String,
pub size: Option<u64>,
pub mode: Option<u32>,
}Expand description
Directory entry for sftp ls JSON/text.
Fields§
§name: StringBase name.
path: StringFull remote path.
kind: Stringfile | dir | symlink | other.
size: Option<u64>Size when known.
mode: Option<u32>Mode bits when known.
Trait Implementations§
Source§impl Clone for SftpListEntry
impl Clone for SftpListEntry
Source§fn clone(&self) -> SftpListEntry
fn clone(&self) -> SftpListEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SftpListEntry
impl RefUnwindSafe for SftpListEntry
impl Send for SftpListEntry
impl Sync for SftpListEntry
impl Unpin for SftpListEntry
impl UnsafeUnpin for SftpListEntry
impl UnwindSafe for SftpListEntry
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