pub struct CreateOperation {
pub suffix_data: SuffixData,
pub delta: Delta,
}Expand description
Fields§
§suffix_data: SuffixData§delta: DeltaImplementations§
Source§impl CreateOperation
impl CreateOperation
Sourcepub fn to_sidetree_did<S: Sidetree>(&self) -> SidetreeDID<S>
pub fn to_sidetree_did<S: Sidetree>(&self) -> SidetreeDID<S>
Construct a Long-Form Sidetree DID from a Create Operation
Trait Implementations§
Source§impl Clone for CreateOperation
impl Clone for CreateOperation
Source§fn clone(&self) -> CreateOperation
fn clone(&self) -> CreateOperation
Returns a duplicate 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 CreateOperation
impl Debug for CreateOperation
Source§impl<'de> Deserialize<'de> for CreateOperation
impl<'de> Deserialize<'de> for CreateOperation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for CreateOperation
impl Serialize for CreateOperation
Source§impl SidetreeOperation for CreateOperation
impl SidetreeOperation for CreateOperation
Source§type PartiallyVerifiedForm = PartiallyVerifiedCreateOperation
type PartiallyVerifiedForm = PartiallyVerifiedCreateOperation
The result of partially verifying the operation.
Source§fn partial_verify<S: Sidetree>(
self,
) -> Result<PartiallyVerifiedCreateOperation, PartialVerificationError>
fn partial_verify<S: Sidetree>( self, ) -> Result<PartiallyVerifiedCreateOperation, PartialVerificationError>
Partially verify the operation. Read more
Auto Trait Implementations§
impl Freeze for CreateOperation
impl RefUnwindSafe for CreateOperation
impl Send for CreateOperation
impl Sync for CreateOperation
impl Unpin for CreateOperation
impl UnsafeUnpin for CreateOperation
impl UnwindSafe for CreateOperation
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> BorrowUnordered for T
impl<T> BorrowUnordered for T
fn as_unordered(&self) -> &Unordered<T>
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'de, T, C> DeserializeTyped<'de, C> for Twhere
T: Deserialize<'de>,
impl<'de, T, C> DeserializeTyped<'de, C> for Twhere
T: Deserialize<'de>,
fn deserialize_typed<S>(
_: &C,
deserializer: S,
) -> Result<T, <S as Deserializer<'de>>::Error>where
S: Deserializer<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
Source§impl<T> ResourceProvider<()> for T
impl<T> ResourceProvider<()> for T
Source§fn get_resource(&self) -> &()
fn get_resource(&self) -> &()
Returns a reference to the resource of type
T.