pub struct SftpStat {
pub path: String,
pub kind: String,
pub size: Option<u64>,
pub mode: Option<u32>,
pub mtime: Option<u32>,
}Expand description
Stat payload for sftp stat.
Fields§
§path: StringRemote path queried.
kind: Stringfile | dir | symlink | other.
size: Option<u64>Size when known.
mode: Option<u32>Mode bits when known.
mtime: Option<u32>mtime unix seconds when known.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SftpStat
impl RefUnwindSafe for SftpStat
impl Send for SftpStat
impl Sync for SftpStat
impl Unpin for SftpStat
impl UnsafeUnpin for SftpStat
impl UnwindSafe for SftpStat
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