Struct hdfs_sys::hdfsFileInfo
source · [−]#[repr(C)]pub struct hdfsFileInfo {
pub mKind: tObjectKind,
pub mName: *mut c_char,
pub mLastMod: c_long,
pub mSize: i64,
pub mReplication: c_short,
pub mBlockSize: i64,
pub mOwner: *mut c_char,
pub mGroup: *mut c_char,
pub mPermissions: c_short,
pub mLastAccess: c_long,
}
Fields
mKind: tObjectKind
mName: *mut c_char
mLastMod: c_long
mSize: i64
mReplication: c_short
mBlockSize: i64
mOwner: *mut c_char
mGroup: *mut c_char
mPermissions: c_short
mLastAccess: c_long
Trait Implementations
sourceimpl Clone for hdfsFileInfo
impl Clone for hdfsFileInfo
sourcefn clone(&self) -> hdfsFileInfo
fn clone(&self) -> hdfsFileInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for hdfsFileInfo
impl Debug for hdfsFileInfo
impl Copy for hdfsFileInfo
Auto Trait Implementations
impl RefUnwindSafe for hdfsFileInfo
impl !Send for hdfsFileInfo
impl !Sync for hdfsFileInfo
impl Unpin for hdfsFileInfo
impl UnwindSafe for hdfsFileInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more