pub struct WindowsPlaceholderMetadata { /* private fields */ }Expand description
Owned CFAPI filesystem metadata for one placeholder.
Implementations§
Source§impl WindowsPlaceholderMetadata
impl WindowsPlaceholderMetadata
Sourcepub fn from_item(item: &CloudItem, times: WindowsFileTimes) -> Result<Self>
pub fn from_item(item: &CloudItem, times: WindowsFileTimes) -> Result<Self>
Maps one core item into minimal Windows filesystem metadata.
§Errors
Returns an error when validation fails or an underlying backend, store, or platform operation fails.
Sourcepub const fn file_attributes(&self) -> u32
pub const fn file_attributes(&self) -> u32
Returns Windows file-attribute bits.
Sourcepub const fn times(&self) -> WindowsFileTimes
pub const fn times(&self) -> WindowsFileTimes
Returns all Windows file times.
Trait Implementations§
Source§impl Clone for WindowsPlaceholderMetadata
impl Clone for WindowsPlaceholderMetadata
Source§fn clone(&self) -> WindowsPlaceholderMetadata
fn clone(&self) -> WindowsPlaceholderMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WindowsPlaceholderMetadata
impl Debug for WindowsPlaceholderMetadata
impl Copy for WindowsPlaceholderMetadata
impl Eq for WindowsPlaceholderMetadata
impl StructuralPartialEq for WindowsPlaceholderMetadata
Auto Trait Implementations§
impl Freeze for WindowsPlaceholderMetadata
impl RefUnwindSafe for WindowsPlaceholderMetadata
impl Send for WindowsPlaceholderMetadata
impl Sync for WindowsPlaceholderMetadata
impl Unpin for WindowsPlaceholderMetadata
impl UnwindSafe for WindowsPlaceholderMetadata
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