#[repr(C)]
pub struct sftp_attributes_struct {
Show 22 fields pub name: *mut c_char, pub longname: *mut c_char, pub flags: u32, pub type_: u8, pub size: u64, pub uid: u32, pub gid: u32, pub owner: *mut c_char, pub group: *mut c_char, pub permissions: u32, pub atime64: u64, pub atime: u32, pub atime_nseconds: u32, pub createtime: u64, pub createtime_nseconds: u32, pub mtime64: u64, pub mtime: u32, pub mtime_nseconds: u32, pub acl: ssh_string, pub extended_count: u32, pub extended_type: ssh_string, pub extended_data: ssh_string,
}

Fields§

§name: *mut c_char§longname: *mut c_char§flags: u32§type_: u8§size: u64§uid: u32§gid: u32§owner: *mut c_char§group: *mut c_char§permissions: u32§atime64: u64§atime: u32§atime_nseconds: u32§createtime: u64§createtime_nseconds: u32§mtime64: u64§mtime: u32§mtime_nseconds: u32§acl: ssh_string§extended_count: u32§extended_type: ssh_string§extended_data: ssh_string

Trait Implementations§

source§

impl Clone for sftp_attributes_struct

source§

fn clone(&self) -> sftp_attributes_struct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for sftp_attributes_struct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for sftp_attributes_struct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.