pub struct GetCommitmentByPin {
pub pin: [u8; 32],
}Expand description
Request a retained commitment by its pin (commitment hash).
ADR-0004: a storer cross-checking a quote whose commitment_pin it does not
already hold (no sidecar, no fresh gossip copy) fetches the signed
commitment so it can verify the binding and route the commitment into audit.
The responder answers only from its retained set, so this never forces a
node to reconstruct or re-sign anything.
Fields§
§pin: [u8; 32]The commitment hash (pin) being resolved.
Trait Implementations§
Source§impl Clone for GetCommitmentByPin
impl Clone for GetCommitmentByPin
Source§fn clone(&self) -> GetCommitmentByPin
fn clone(&self) -> GetCommitmentByPin
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetCommitmentByPin
impl Debug for GetCommitmentByPin
Source§impl<'de> Deserialize<'de> for GetCommitmentByPin
impl<'de> Deserialize<'de> for GetCommitmentByPin
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
Auto Trait Implementations§
impl Freeze for GetCommitmentByPin
impl RefUnwindSafe for GetCommitmentByPin
impl Send for GetCommitmentByPin
impl Sync for GetCommitmentByPin
impl Unpin for GetCommitmentByPin
impl UnsafeUnpin for GetCommitmentByPin
impl UnwindSafe for GetCommitmentByPin
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
impl<'de, T> BorrowedRpcObject<'de> for T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more