Enum cloud_filter::placeholder::PinState
source · pub enum PinState {
Unspecified,
Pinned,
Unpinned,
Excluded,
Inherit,
}
Expand description
The pin state of a placeholder.
Variants§
Unspecified
The platform could decide freely.
Pinned
SyncFilter::fetch_data will be called to hydrate the rest of the placeholder’s data. Any dehydration requests will fail automatically.
Unpinned
SyncFilter::dehydrate will be called to dehydrate the rest of the placeholder’s data.
Excluded
The placeholder will never sync to the cloud.
Inherit
The placeholder will inherit the parent placeholder’s pin state.
Trait Implementations§
impl Copy for PinState
impl Eq for PinState
impl StructuralPartialEq for PinState
Auto Trait Implementations§
impl Freeze for PinState
impl RefUnwindSafe for PinState
impl Send for PinState
impl Sync for PinState
impl Unpin for PinState
impl UnwindSafe for PinState
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
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)