pub struct ScopedReferenceV1 {
pub scope_digest: Sha256Digest,
pub reference: ProtocolReference,
}Fields§
§scope_digest: Sha256Digest§reference: ProtocolReferenceImplementations§
Source§impl ScopedReferenceV1
impl ScopedReferenceV1
pub fn new( scope: &ViaScopeV1, reference: ProtocolReference, ) -> Result<Self, ValidationError>
Trait Implementations§
Source§impl Clone for ScopedReferenceV1
impl Clone for ScopedReferenceV1
Source§impl Debug for ScopedReferenceV1
impl Debug for ScopedReferenceV1
Source§impl<'de> Deserialize<'de> for ScopedReferenceV1
impl<'de> Deserialize<'de> for ScopedReferenceV1
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
impl Eq for ScopedReferenceV1
Source§impl Ord for ScopedReferenceV1
impl Ord for ScopedReferenceV1
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ScopedReferenceV1
impl PartialEq for ScopedReferenceV1
Source§impl PartialOrd for ScopedReferenceV1
impl PartialOrd for ScopedReferenceV1
Source§impl Serialize for ScopedReferenceV1
impl Serialize for ScopedReferenceV1
impl StructuralPartialEq for ScopedReferenceV1
Auto Trait Implementations§
impl Freeze for ScopedReferenceV1
impl RefUnwindSafe for ScopedReferenceV1
impl Send for ScopedReferenceV1
impl Sync for ScopedReferenceV1
impl Unpin for ScopedReferenceV1
impl UnsafeUnpin for ScopedReferenceV1
impl UnwindSafe for ScopedReferenceV1
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