pub struct RemoteAbandonEvidence {
pub writer: RemoteAbandonWriter,
pub owner: Option<Value>,
pub epoch_ms: u64,
}Expand description
Wire mirror of Abandoned-terminal evidence. The dead/lapsed owner identity is carried opaquely (the wire has no lease-owner mirror), matching how other nested core types ride the wire as JSON.
Fields§
§writer: RemoteAbandonWriter§owner: Option<Value>§epoch_ms: u64Trait Implementations§
Source§impl Clone for RemoteAbandonEvidence
impl Clone for RemoteAbandonEvidence
Source§fn clone(&self) -> RemoteAbandonEvidence
fn clone(&self) -> RemoteAbandonEvidence
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 RemoteAbandonEvidence
impl Debug for RemoteAbandonEvidence
Source§impl<'de> Deserialize<'de> for RemoteAbandonEvidence
impl<'de> Deserialize<'de> for RemoteAbandonEvidence
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RemoteAbandonEvidence, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RemoteAbandonEvidence, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<AbandonEvidence> for RemoteAbandonEvidence
impl From<AbandonEvidence> for RemoteAbandonEvidence
Source§fn from(value: AbandonEvidence) -> RemoteAbandonEvidence
fn from(value: AbandonEvidence) -> RemoteAbandonEvidence
Converts to this type from the input type.
Source§impl JsonSchema for RemoteAbandonEvidence
impl JsonSchema for RemoteAbandonEvidence
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for RemoteAbandonEvidence
impl PartialEq for RemoteAbandonEvidence
Source§fn eq(&self, other: &RemoteAbandonEvidence) -> bool
fn eq(&self, other: &RemoteAbandonEvidence) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RemoteAbandonEvidence
impl Serialize for RemoteAbandonEvidence
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for RemoteAbandonEvidence
Source§impl TryFrom<RemoteAbandonEvidence> for AbandonEvidence
impl TryFrom<RemoteAbandonEvidence> for AbandonEvidence
Source§type Error = RemoteProtocolError
type Error = RemoteProtocolError
The type returned in the event of a conversion error.
Source§fn try_from(
value: RemoteAbandonEvidence,
) -> Result<AbandonEvidence, <AbandonEvidence as TryFrom<RemoteAbandonEvidence>>::Error>
fn try_from( value: RemoteAbandonEvidence, ) -> Result<AbandonEvidence, <AbandonEvidence as TryFrom<RemoteAbandonEvidence>>::Error>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for RemoteAbandonEvidence
impl RefUnwindSafe for RemoteAbandonEvidence
impl Send for RemoteAbandonEvidence
impl Sync for RemoteAbandonEvidence
impl Unpin for RemoteAbandonEvidence
impl UnsafeUnpin for RemoteAbandonEvidence
impl UnwindSafe for RemoteAbandonEvidence
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