pub struct File {
pub path: Vec<u8>,
pub symlink: Option<Vec<u8>>,
pub size: u64,
pub mtime: Option<DateTime<Utc>>,
/* private fields */
}Expand description
Information about a file on the rsync server
Fields§
§path: Vec<u8>Path as returned by the server Take care to normalize it
symlink: Option<Vec<u8>>Symlink target, if is_symlink
size: u64File size in bytes
mtime: Option<DateTime<Utc>>Modification time. Range is limited as it is parsed from an i32
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for File
impl RefUnwindSafe for File
impl Send for File
impl Sync for File
impl Unpin for File
impl UnwindSafe for File
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