pub struct ConfigDataIdentityRootBuilder { /* private fields */ }
Expand description
Builder for ConfigData
.
Implementations§
Source§impl ConfigDataIdentityRootBuilder
impl ConfigDataIdentityRootBuilder
Sourcepub fn identity_root(
self,
key: &EncryptionKey,
) -> ConfigDataLinkLayerOnlyBuilder
pub fn identity_root( self, key: &EncryptionKey, ) -> ConfigDataLinkLayerOnlyBuilder
Specify the identity root and continue building.
Sourcepub fn build(self) -> ConfigData
pub fn build(self) -> ConfigData
Build the ConfigData as-is. It includes the encryption root, and may include fields before it, but does not include any fields after it (including the identity root).
Auto Trait Implementations§
impl Freeze for ConfigDataIdentityRootBuilder
impl RefUnwindSafe for ConfigDataIdentityRootBuilder
impl Send for ConfigDataIdentityRootBuilder
impl Sync for ConfigDataIdentityRootBuilder
impl Unpin for ConfigDataIdentityRootBuilder
impl UnwindSafe for ConfigDataIdentityRootBuilder
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