pub struct GetEventStreamResponse {
pub batch_failed: Option<BatchFailedEvent>,
pub batch_finalization: Option<BatchFinalizationEvent>,
pub batch_finalized: Option<BatchFinalizedEvent>,
pub batch_started: Option<BatchStartedEvent>,
pub heartbeat: Option<Value>,
pub stream_started: Option<StreamStartedEvent>,
pub tree_nonces: Option<TreeNoncesEvent>,
pub tree_nonces_aggregated: Option<TreeNoncesAggregatedEvent>,
pub tree_signature: Option<TreeSignatureEvent>,
pub tree_signing_started: Option<TreeSigningStartedEvent>,
pub tree_tx: Option<TreeTxEvent>,
}Fields§
§batch_failed: Option<BatchFailedEvent>§batch_finalization: Option<BatchFinalizationEvent>§batch_finalized: Option<BatchFinalizedEvent>§batch_started: Option<BatchStartedEvent>§heartbeat: Option<Value>§stream_started: Option<StreamStartedEvent>§tree_nonces: Option<TreeNoncesEvent>§tree_nonces_aggregated: Option<TreeNoncesAggregatedEvent>§tree_signature: Option<TreeSignatureEvent>§tree_signing_started: Option<TreeSigningStartedEvent>§tree_tx: Option<TreeTxEvent>Implementations§
Source§impl GetEventStreamResponse
impl GetEventStreamResponse
pub fn new() -> GetEventStreamResponse
Trait Implementations§
Source§impl Clone for GetEventStreamResponse
impl Clone for GetEventStreamResponse
Source§fn clone(&self) -> GetEventStreamResponse
fn clone(&self) -> GetEventStreamResponse
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 GetEventStreamResponse
impl Debug for GetEventStreamResponse
Source§impl Default for GetEventStreamResponse
impl Default for GetEventStreamResponse
Source§fn default() -> GetEventStreamResponse
fn default() -> GetEventStreamResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetEventStreamResponse
impl<'de> Deserialize<'de> for GetEventStreamResponse
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
Source§impl PartialEq for GetEventStreamResponse
impl PartialEq for GetEventStreamResponse
Source§fn eq(&self, other: &GetEventStreamResponse) -> bool
fn eq(&self, other: &GetEventStreamResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GetEventStreamResponse
impl Serialize for GetEventStreamResponse
impl StructuralPartialEq for GetEventStreamResponse
Source§impl TryFrom<GetEventStreamResponse> for StreamEvent
impl TryFrom<GetEventStreamResponse> for StreamEvent
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for GetEventStreamResponse
impl RefUnwindSafe for GetEventStreamResponse
impl Send for GetEventStreamResponse
impl Sync for GetEventStreamResponse
impl Unpin for GetEventStreamResponse
impl UnsafeUnpin for GetEventStreamResponse
impl UnwindSafe for GetEventStreamResponse
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