pub struct ProofMetadata {
pub client_version: String,
pub region: Option<String>,
pub connection_type: Option<String>,
}Expand description
Additional metadata for proof submission.
Fields§
§client_version: StringClient version that generated the proof.
region: Option<String>Node region/location.
connection_type: Option<String>Connection type (e.g., “direct”, “relay”).
Trait Implementations§
Source§impl Clone for ProofMetadata
impl Clone for ProofMetadata
Source§fn clone(&self) -> ProofMetadata
fn clone(&self) -> ProofMetadata
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 ProofMetadata
impl Debug for ProofMetadata
Source§impl<'de> Deserialize<'de> for ProofMetadata
impl<'de> Deserialize<'de> for ProofMetadata
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 ProofMetadata
impl RefUnwindSafe for ProofMetadata
impl Send for ProofMetadata
impl Sync for ProofMetadata
impl Unpin for ProofMetadata
impl UnwindSafe for ProofMetadata
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