pub struct SparkSigningOperator {
pub id: u32,
pub identifier: String,
pub address: String,
pub identity_public_key: String,
pub ca_cert_pem: Option<String>,
}Expand description
A Spark signing operator.
Fields§
§id: u32Sequential operator ID (0-indexed).
identifier: StringHex-encoded 32-byte FROST identifier.
address: StringgRPC address of the operator (e.g. https://0.spark.lightspark.com).
identity_public_key: StringHex-encoded compressed public key of the operator.
ca_cert_pem: Option<String>Optional PEM-encoded CA certificate for TLS verification. When set, the SDK uses this CA to verify the operator’s TLS certificate instead of the system/default roots. Useful for local development with self-signed certificates.
Trait Implementations§
Source§impl Clone for SparkSigningOperator
impl Clone for SparkSigningOperator
Source§fn clone(&self) -> SparkSigningOperator
fn clone(&self) -> SparkSigningOperator
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 moreAuto Trait Implementations§
impl Freeze for SparkSigningOperator
impl RefUnwindSafe for SparkSigningOperator
impl Send for SparkSigningOperator
impl Sync for SparkSigningOperator
impl Unpin for SparkSigningOperator
impl UnsafeUnpin for SparkSigningOperator
impl UnwindSafe for SparkSigningOperator
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request