pub struct AttestationResponse {
pub accepted: Option<bool>,
pub status: Option<String>,
pub error: Option<String>,
pub epoch: Option<u64>,
}Expand description
Response after submitting an attestation.
Fields§
§accepted: Option<bool>Whether the attestation was accepted.
status: Option<String>Status message.
error: Option<String>Error message if rejected.
epoch: Option<u64>Epoch the attestation was recorded for.
Trait Implementations§
Source§impl Clone for AttestationResponse
impl Clone for AttestationResponse
Source§fn clone(&self) -> AttestationResponse
fn clone(&self) -> AttestationResponse
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 AttestationResponse
impl Debug for AttestationResponse
Source§impl<'de> Deserialize<'de> for AttestationResponse
impl<'de> Deserialize<'de> for AttestationResponse
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 AttestationResponse
impl RefUnwindSafe for AttestationResponse
impl Send for AttestationResponse
impl Sync for AttestationResponse
impl Unpin for AttestationResponse
impl UnsafeUnpin for AttestationResponse
impl UnwindSafe for AttestationResponse
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