Struct identity_account::account::PublishOptions
source · pub struct PublishOptions { /* private fields */ }
Expand description
Options to customize how identities are published to the Tangle.
Implementations§
source§impl PublishOptions
impl PublishOptions
sourcepub fn force_integration_update(self, force: bool) -> Self
👎Deprecated since 0.5.0: diff chain features are slated for removal
pub fn force_integration_update(self, force: bool) -> Self
Whether to force the publication to be an integration update.
If this option is not set, the account automatically determines whether an update needs to be published as an integration or a diff update. Publishing as an integration update is always valid, but not recommended for identities with many updates.
See the IOTA DID method specification for more details.
sourcepub fn sign_with(self, fragment: impl Into<String>) -> Self
pub fn sign_with(self, fragment: impl Into<String>) -> Self
Set the fragment of a verification method with which to sign the update. This must point to an Ed25519 method with a capability invocation verification relationship.
If this is not set, the method used is determined by
IotaDocument
Trait Implementations§
source§impl Clone for PublishOptions
impl Clone for PublishOptions
source§fn clone(&self) -> PublishOptions
fn clone(&self) -> PublishOptions
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 moresource§impl Debug for PublishOptions
impl Debug for PublishOptions
Auto Trait Implementations§
impl RefUnwindSafe for PublishOptions
impl Send for PublishOptions
impl Sync for PublishOptions
impl Unpin for PublishOptions
impl UnwindSafe for PublishOptions
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