Struct windows::Storage::Provider::StorageProviderSyncRootInfo
pub struct StorageProviderSyncRootInfo(/* private fields */);
Implementations§
§impl StorageProviderSyncRootInfo
impl StorageProviderSyncRootInfo
pub fn new() -> Result<Self>
pub fn Id(&self) -> Result<HSTRING>
pub fn SetId(&self, value: &HSTRING) -> Result<()>
pub fn Context(&self) -> Result<IBuffer>
pub fn SetContext<P0>(&self, value: P0) -> Result<()>where
P0: Param<IBuffer>,
pub fn Path(&self) -> Result<IStorageFolder>
pub fn SetPath<P0>(&self, value: P0) -> Result<()>where
P0: Param<IStorageFolder>,
pub fn DisplayNameResource(&self) -> Result<HSTRING>
pub fn SetDisplayNameResource(&self, value: &HSTRING) -> Result<()>
pub fn IconResource(&self) -> Result<HSTRING>
pub fn SetIconResource(&self, value: &HSTRING) -> Result<()>
pub fn HydrationPolicy(&self) -> Result<StorageProviderHydrationPolicy>
pub fn SetHydrationPolicy( &self, value: StorageProviderHydrationPolicy, ) -> Result<()>
pub fn HydrationPolicyModifier( &self, ) -> Result<StorageProviderHydrationPolicyModifier>
pub fn SetHydrationPolicyModifier( &self, value: StorageProviderHydrationPolicyModifier, ) -> Result<()>
pub fn PopulationPolicy(&self) -> Result<StorageProviderPopulationPolicy>
pub fn SetPopulationPolicy( &self, value: StorageProviderPopulationPolicy, ) -> Result<()>
pub fn InSyncPolicy(&self) -> Result<StorageProviderInSyncPolicy>
pub fn SetInSyncPolicy(&self, value: StorageProviderInSyncPolicy) -> Result<()>
pub fn HardlinkPolicy(&self) -> Result<StorageProviderHardlinkPolicy>
pub fn SetHardlinkPolicy( &self, value: StorageProviderHardlinkPolicy, ) -> Result<()>
pub fn ShowSiblingsAsGroup(&self) -> Result<bool>
pub fn SetShowSiblingsAsGroup(&self, value: bool) -> Result<()>
pub fn Version(&self) -> Result<HSTRING>
pub fn SetVersion(&self, value: &HSTRING) -> Result<()>
pub fn ProtectionMode(&self) -> Result<StorageProviderProtectionMode>
pub fn SetProtectionMode( &self, value: StorageProviderProtectionMode, ) -> Result<()>
pub fn AllowPinning(&self) -> Result<bool>
pub fn SetAllowPinning(&self, value: bool) -> Result<()>
pub fn StorageProviderItemPropertyDefinitions( &self, ) -> Result<IVector<StorageProviderItemPropertyDefinition>>
pub fn RecycleBinUri(&self) -> Result<Uri>
pub fn SetRecycleBinUri<P0>(&self, value: P0) -> Result<()>where
P0: Param<Uri>,
pub fn ProviderId(&self) -> Result<GUID>
pub fn SetProviderId(&self, value: GUID) -> Result<()>
pub fn FallbackFileTypeInfo( &self, ) -> Result<IVector<StorageProviderFileTypeInfo>>
Trait Implementations§
§impl CanInto<IInspectable> for StorageProviderSyncRootInfo
impl CanInto<IInspectable> for StorageProviderSyncRootInfo
§impl CanInto<IUnknown> for StorageProviderSyncRootInfo
impl CanInto<IUnknown> for StorageProviderSyncRootInfo
§impl Clone for StorageProviderSyncRootInfo
impl Clone for StorageProviderSyncRootInfo
§fn clone(&self) -> StorageProviderSyncRootInfo
fn clone(&self) -> StorageProviderSyncRootInfo
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 StorageProviderSyncRootInfo
impl Debug for StorageProviderSyncRootInfo
§impl From<&StorageProviderSyncRootInfo> for &IInspectable
impl From<&StorageProviderSyncRootInfo> for &IInspectable
§fn from(value: &StorageProviderSyncRootInfo) -> Self
fn from(value: &StorageProviderSyncRootInfo) -> Self
Converts to this type from the input type.
§impl From<&StorageProviderSyncRootInfo> for &IUnknown
impl From<&StorageProviderSyncRootInfo> for &IUnknown
§fn from(value: &StorageProviderSyncRootInfo) -> Self
fn from(value: &StorageProviderSyncRootInfo) -> Self
Converts to this type from the input type.
§impl From<StorageProviderSyncRootInfo> for IInspectable
impl From<StorageProviderSyncRootInfo> for IInspectable
§fn from(value: StorageProviderSyncRootInfo) -> Self
fn from(value: StorageProviderSyncRootInfo) -> Self
Converts to this type from the input type.
§impl From<StorageProviderSyncRootInfo> for IUnknown
impl From<StorageProviderSyncRootInfo> for IUnknown
§fn from(value: StorageProviderSyncRootInfo) -> Self
fn from(value: StorageProviderSyncRootInfo) -> Self
Converts to this type from the input type.
§impl Interface for StorageProviderSyncRootInfo
impl Interface for StorageProviderSyncRootInfo
§const IID: GUID = <IStorageProviderSyncRootInfo as windows_core::Interface>::IID
const IID: GUID = <IStorageProviderSyncRootInfo as windows_core::Interface>::IID
The
GUID
associated with the interface.§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§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for StorageProviderSyncRootInfo
impl PartialEq for StorageProviderSyncRootInfo
§fn eq(&self, other: &StorageProviderSyncRootInfo) -> bool
fn eq(&self, other: &StorageProviderSyncRootInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for StorageProviderSyncRootInfo
impl Send for StorageProviderSyncRootInfo
impl StructuralPartialEq for StorageProviderSyncRootInfo
impl Sync for StorageProviderSyncRootInfo
Auto Trait Implementations§
impl Freeze for StorageProviderSyncRootInfo
impl RefUnwindSafe for StorageProviderSyncRootInfo
impl Unpin for StorageProviderSyncRootInfo
impl UnwindSafe for StorageProviderSyncRootInfo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)