pub struct ObservationKey {
pub object_id: String,
pub piece_index: u32,
}Expand description
One caller-owned observation identity.
Fields§
§object_id: String§piece_index: u32Trait Implementations§
Source§impl Clone for ObservationKey
impl Clone for ObservationKey
Source§fn clone(&self) -> ObservationKey
fn clone(&self) -> ObservationKey
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 ObservationKey
impl Debug for ObservationKey
Source§impl<'de> Deserialize<'de> for ObservationKey
impl<'de> Deserialize<'de> for ObservationKey
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ObservationKey, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ObservationKey, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ObservationKey
Source§impl From<ObservationKeyInput> for ObservationKey
impl From<ObservationKeyInput> for ObservationKey
Source§fn from(value: ObservationKeyInput) -> ObservationKey
fn from(value: ObservationKeyInput) -> ObservationKey
Converts to this type from the input type.
Source§impl Hash for ObservationKey
impl Hash for ObservationKey
Source§impl PartialEq for ObservationKey
impl PartialEq for ObservationKey
Source§impl Serialize for ObservationKey
impl Serialize for ObservationKey
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 ObservationKey
Auto Trait Implementations§
impl Freeze for ObservationKey
impl RefUnwindSafe for ObservationKey
impl Send for ObservationKey
impl Sync for ObservationKey
impl Unpin for ObservationKey
impl UnsafeUnpin for ObservationKey
impl UnwindSafe for ObservationKey
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