pub struct SparkSigningKeyshare {
pub owner_identifiers: Vec<String>,
pub public_key: String,
pub public_shares: HashMap<String, String>,
pub threshold: f64,
pub updated_time: String,
}Expand description
A Spark signing keyshare.
JSON schema
{
"title": "SparkSigningKeyshare",
"description": "A Spark signing keyshare.",
"type": "object",
"required": [
"owner_identifiers",
"public_key",
"public_shares",
"threshold",
"updated_time"
],
"properties": {
"owner_identifiers": {
"type": "array",
"items": {
"type": "string"
}
},
"public_key": {
"type": "string"
},
"public_shares": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"threshold": {
"type": "number"
},
"updated_time": {
"type": "string"
}
},
"x-stainless-model": "wallets.spark_signing_keyshare"
}Fields§
§owner_identifiers: Vec<String>§public_key: String§threshold: f64§updated_time: StringTrait Implementations§
Source§fn clone(&self) -> SparkSigningKeyshare
fn clone(&self) -> SparkSigningKeyshare
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§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§fn from(value: &SparkSigningKeyshare) -> Self
fn from(value: &SparkSigningKeyshare) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
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