Struct windows::Storage::BulkAccess::FolderInformation
pub struct FolderInformation(/* private fields */);
Implementations§
§impl FolderInformation
impl FolderInformation
pub fn CreateFileAsyncOverloadDefaultOptions( &self, desiredname: &HSTRING ) -> Result<IAsyncOperation<StorageFile>>
pub fn CreateFileAsync( &self, desiredname: &HSTRING, options: CreationCollisionOption ) -> Result<IAsyncOperation<StorageFile>>
pub fn CreateFolderAsyncOverloadDefaultOptions( &self, desiredname: &HSTRING ) -> Result<IAsyncOperation<StorageFolder>>
pub fn CreateFolderAsync( &self, desiredname: &HSTRING, options: CreationCollisionOption ) -> Result<IAsyncOperation<StorageFolder>>
pub fn GetFileAsync( &self, name: &HSTRING ) -> Result<IAsyncOperation<StorageFile>>
pub fn GetFolderAsync( &self, name: &HSTRING ) -> Result<IAsyncOperation<StorageFolder>>
pub fn GetItemAsync( &self, name: &HSTRING ) -> Result<IAsyncOperation<IStorageItem>>
pub fn GetFilesAsyncOverloadDefaultOptionsStartAndCount( &self ) -> Result<IAsyncOperation<IVectorView<StorageFile>>>
pub fn GetFoldersAsyncOverloadDefaultOptionsStartAndCount( &self ) -> Result<IAsyncOperation<IVectorView<StorageFolder>>>
pub fn GetItemsAsyncOverloadDefaultStartAndCount( &self ) -> Result<IAsyncOperation<IVectorView<IStorageItem>>>
pub fn TryGetItemAsync( &self, name: &HSTRING ) -> Result<IAsyncOperation<IStorageItem>>
pub fn GetIndexedStateAsync(&self) -> Result<IAsyncOperation<IndexedState>>
pub fn CreateFileQueryOverloadDefault(&self) -> Result<StorageFileQueryResult>
pub fn CreateFileQuery( &self, query: CommonFileQuery ) -> Result<StorageFileQueryResult>
pub fn CreateFileQueryWithOptions<P0>(
&self,
queryoptions: P0
) -> Result<StorageFileQueryResult>where
P0: IntoParam<QueryOptions>,
pub fn CreateFolderQueryOverloadDefault( &self ) -> Result<StorageFolderQueryResult>
pub fn CreateFolderQuery( &self, query: CommonFolderQuery ) -> Result<StorageFolderQueryResult>
pub fn CreateFolderQueryWithOptions<P0>(
&self,
queryoptions: P0
) -> Result<StorageFolderQueryResult>where
P0: IntoParam<QueryOptions>,
pub fn CreateItemQuery(&self) -> Result<StorageItemQueryResult>
pub fn CreateItemQueryWithOptions<P0>(
&self,
queryoptions: P0
) -> Result<StorageItemQueryResult>where
P0: IntoParam<QueryOptions>,
pub fn GetFilesAsync( &self, query: CommonFileQuery, startindex: u32, maxitemstoretrieve: u32 ) -> Result<IAsyncOperation<IVectorView<StorageFile>>>
pub fn GetFilesAsyncOverloadDefaultStartAndCount( &self, query: CommonFileQuery ) -> Result<IAsyncOperation<IVectorView<StorageFile>>>
pub fn GetFoldersAsync( &self, query: CommonFolderQuery, startindex: u32, maxitemstoretrieve: u32 ) -> Result<IAsyncOperation<IVectorView<StorageFolder>>>
pub fn GetFoldersAsyncOverloadDefaultStartAndCount( &self, query: CommonFolderQuery ) -> Result<IAsyncOperation<IVectorView<StorageFolder>>>
pub fn GetItemsAsync( &self, startindex: u32, maxitemstoretrieve: u32 ) -> Result<IAsyncOperation<IVectorView<IStorageItem>>>
pub fn AreQueryOptionsSupported<P0>(&self, queryoptions: P0) -> Result<bool>where
P0: IntoParam<QueryOptions>,
pub fn IsCommonFolderQuerySupported( &self, query: CommonFolderQuery ) -> Result<bool>
pub fn IsCommonFileQuerySupported(&self, query: CommonFileQuery) -> Result<bool>
pub fn RenameAsyncOverloadDefaultOptions( &self, desiredname: &HSTRING ) -> Result<IAsyncAction>
pub fn RenameAsync( &self, desiredname: &HSTRING, option: NameCollisionOption ) -> Result<IAsyncAction>
pub fn DeleteAsyncOverloadDefaultOptions(&self) -> Result<IAsyncAction>
pub fn DeleteAsync(&self, option: StorageDeleteOption) -> Result<IAsyncAction>
pub fn GetBasicPropertiesAsync( &self ) -> Result<IAsyncOperation<BasicProperties>>
pub fn Name(&self) -> Result<HSTRING>
pub fn Path(&self) -> Result<HSTRING>
pub fn Attributes(&self) -> Result<FileAttributes>
pub fn DateCreated(&self) -> Result<DateTime>
pub fn IsOfType(&self, type: StorageItemTypes) -> Result<bool>
pub fn GetParentAsync(&self) -> Result<IAsyncOperation<StorageFolder>>
pub fn IsEqual<P0>(&self, item: P0) -> Result<bool>where
P0: IntoParam<IStorageItem>,
pub fn MusicProperties(&self) -> Result<MusicProperties>
pub fn VideoProperties(&self) -> Result<VideoProperties>
pub fn ImageProperties(&self) -> Result<ImageProperties>
pub fn DocumentProperties(&self) -> Result<DocumentProperties>
pub fn BasicProperties(&self) -> Result<BasicProperties>
pub fn Thumbnail(&self) -> Result<StorageItemThumbnail>
pub fn ThumbnailUpdated<P0>( &self, changedhandler: P0 ) -> Result<EventRegistrationToken>
pub fn RemoveThumbnailUpdated( &self, eventcookie: EventRegistrationToken ) -> Result<()>
pub fn PropertiesUpdated<P0>( &self, changedhandler: P0 ) -> Result<EventRegistrationToken>
pub fn RemovePropertiesUpdated( &self, eventcookie: EventRegistrationToken ) -> Result<()>
pub fn GetThumbnailAsyncOverloadDefaultSizeDefaultOptions( &self, mode: ThumbnailMode ) -> Result<IAsyncOperation<StorageItemThumbnail>>
pub fn GetThumbnailAsyncOverloadDefaultOptions( &self, mode: ThumbnailMode, requestedsize: u32 ) -> Result<IAsyncOperation<StorageItemThumbnail>>
pub fn GetThumbnailAsync( &self, mode: ThumbnailMode, requestedsize: u32, options: ThumbnailOptions ) -> Result<IAsyncOperation<StorageItemThumbnail>>
pub fn DisplayName(&self) -> Result<HSTRING>
pub fn DisplayType(&self) -> Result<HSTRING>
pub fn FolderRelativeId(&self) -> Result<HSTRING>
pub fn Properties(&self) -> Result<StorageItemContentProperties>
pub fn Provider(&self) -> Result<StorageProvider>
Trait Implementations§
§impl Clone for FolderInformation
impl Clone for FolderInformation
§fn clone(&self) -> FolderInformation
fn clone(&self) -> FolderInformation
Returns a copy 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 more§impl Debug for FolderInformation
impl Debug for FolderInformation
§impl From<&FolderInformation> for &IInspectable
impl From<&FolderInformation> for &IInspectable
§fn from(value: &FolderInformation) -> Self
fn from(value: &FolderInformation) -> Self
Converts to this type from the input type.
§impl From<&FolderInformation> for &IUnknown
impl From<&FolderInformation> for &IUnknown
§fn from(value: &FolderInformation) -> Self
fn from(value: &FolderInformation) -> Self
Converts to this type from the input type.
§impl From<FolderInformation> for IInspectable
impl From<FolderInformation> for IInspectable
§fn from(value: FolderInformation) -> Self
fn from(value: FolderInformation) -> Self
Converts to this type from the input type.
§impl From<FolderInformation> for IUnknown
impl From<FolderInformation> for IUnknown
§fn from(value: FolderInformation) -> Self
fn from(value: FolderInformation) -> Self
Converts to this type from the input type.
§impl Interface for FolderInformation
impl Interface for FolderInformation
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for FolderInformation
impl PartialEq for FolderInformation
§fn eq(&self, other: &FolderInformation) -> bool
fn eq(&self, other: &FolderInformation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for FolderInformation
impl StructuralPartialEq for FolderInformation
Auto Trait Implementations§
impl RefUnwindSafe for FolderInformation
impl !Send for FolderInformation
impl !Sync for FolderInformation
impl Unpin for FolderInformation
impl UnwindSafe for FolderInformation
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