Struct cloud_filter::root::SyncRootIdBuilder
source · pub struct SyncRootIdBuilder { /* private fields */ }
Expand description
A builder to construct a SyncRootId.
Implementations§
source§impl SyncRootIdBuilder
impl SyncRootIdBuilder
sourcepub fn user_security_id(self, security_id: SecurityId) -> Self
pub fn user_security_id(self, security_id: SecurityId) -> Self
The security id of the Windows user. Retrieve this value via the SecurityId struct.
By default, a sync root registered without a user security id will be installed globally.
sourcepub fn account_name(self, account_name: impl AsRef<OsStr>) -> Self
pub fn account_name(self, account_name: impl AsRef<OsStr>) -> Self
The name of the user’s account.
This value does not have any actual meaning and it could theoretically be anything. However, it is encouraged to set this value to the account name of the user on the remote.
sourcepub fn build(self) -> SyncRootId
pub fn build(self) -> SyncRootId
Constructs a SyncRootId from the builder.
Trait Implementations§
source§impl Clone for SyncRootIdBuilder
impl Clone for SyncRootIdBuilder
source§fn clone(&self) -> SyncRootIdBuilder
fn clone(&self) -> SyncRootIdBuilder
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 moreAuto Trait Implementations§
impl Freeze for SyncRootIdBuilder
impl RefUnwindSafe for SyncRootIdBuilder
impl Send for SyncRootIdBuilder
impl Sync for SyncRootIdBuilder
impl Unpin for SyncRootIdBuilder
impl UnwindSafe for SyncRootIdBuilder
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
)