pub struct WindowsPlaceholder { /* private fields */ }Expand description
Owned input for one CfCreatePlaceholders entry.
Implementations§
Source§impl WindowsPlaceholder
impl WindowsPlaceholder
Sourcepub fn from_item(
item: &CloudItem,
identity: WindowsFileIdentity,
times: WindowsFileTimes,
options: WindowsPlaceholderOptions,
) -> Result<Self>
pub fn from_item( item: &CloudItem, identity: WindowsFileIdentity, times: WindowsFileTimes, options: WindowsPlaceholderOptions, ) -> Result<Self>
Creates an owned placeholder request and verifies identity/item binding.
§Errors
Returns an error when validation fails or an underlying backend, store, or platform operation fails.
Sourcepub fn relative_name(&self) -> &str
pub fn relative_name(&self) -> &str
Returns the validated single-component Windows relative name.
Sourcepub const fn metadata(&self) -> WindowsPlaceholderMetadata
pub const fn metadata(&self) -> WindowsPlaceholderMetadata
Returns the owned filesystem metadata.
Sourcepub const fn identity(&self) -> &WindowsFileIdentity
pub const fn identity(&self) -> &WindowsFileIdentity
Returns the stable native identity bytes.
Sourcepub const fn options(&self) -> WindowsPlaceholderOptions
pub const fn options(&self) -> WindowsPlaceholderOptions
Returns creation options.
Sourcepub fn into_parts(
self,
) -> (String, WindowsPlaceholderMetadata, WindowsFileIdentity, WindowsPlaceholderOptions)
pub fn into_parts( self, ) -> (String, WindowsPlaceholderMetadata, WindowsFileIdentity, WindowsPlaceholderOptions)
Consumes the request and returns all owned parts.
Trait Implementations§
Source§impl Clone for WindowsPlaceholder
impl Clone for WindowsPlaceholder
Source§fn clone(&self) -> WindowsPlaceholder
fn clone(&self) -> WindowsPlaceholder
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 WindowsPlaceholder
impl Debug for WindowsPlaceholder
Source§impl PartialEq for WindowsPlaceholder
impl PartialEq for WindowsPlaceholder
impl Eq for WindowsPlaceholder
impl StructuralPartialEq for WindowsPlaceholder
Auto Trait Implementations§
impl Freeze for WindowsPlaceholder
impl RefUnwindSafe for WindowsPlaceholder
impl Send for WindowsPlaceholder
impl Sync for WindowsPlaceholder
impl Unpin for WindowsPlaceholder
impl UnwindSafe for WindowsPlaceholder
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