pub struct ListingEntry {
pub name: String,
pub size: u64,
pub is_directory: bool,
pub permissions: String,
pub modified_time: Option<SystemTime>,
}Expand description
A single entry in an FTP directory listing
Fields§
§name: String§size: u64§is_directory: bool§permissions: String§modified_time: Option<SystemTime>Implementations§
Source§impl ListingEntry
impl ListingEntry
Trait Implementations§
Source§impl Clone for ListingEntry
impl Clone for ListingEntry
Source§fn clone(&self) -> ListingEntry
fn clone(&self) -> ListingEntry
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 ListingEntry
impl RefUnwindSafe for ListingEntry
impl Send for ListingEntry
impl Sync for ListingEntry
impl Unpin for ListingEntry
impl UnsafeUnpin for ListingEntry
impl UnwindSafe for ListingEntry
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