pub struct SinkObjectProperty {
pub key: String,
pub value: SinkLiteralValue,
}Expand description
Static object-literal property metadata attached to a captured sink argument. Nested object paths are flattened with dot-separated keys.
Fields§
§key: StringStatic property name. Nested object properties use dot-separated paths.
value: SinkLiteralValueLiteral property value when statically knowable.
Trait Implementations§
Source§impl Clone for SinkObjectProperty
impl Clone for SinkObjectProperty
Source§impl Debug for SinkObjectProperty
impl Debug for SinkObjectProperty
impl<'__de> Decode<'__de> for SinkObjectPropertywhere
'__de:,
Source§impl<'de> Deserialize<'de> for SinkObjectProperty
impl<'de> Deserialize<'de> for SinkObjectProperty
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
impl Encode for SinkObjectProperty
impl Eq for SinkObjectProperty
Source§impl PartialEq for SinkObjectProperty
impl PartialEq for SinkObjectProperty
Source§impl Serialize for SinkObjectProperty
impl Serialize for SinkObjectProperty
impl StructuralPartialEq for SinkObjectProperty
Auto Trait Implementations§
impl Freeze for SinkObjectProperty
impl RefUnwindSafe for SinkObjectProperty
impl Send for SinkObjectProperty
impl Sync for SinkObjectProperty
impl Unpin for SinkObjectProperty
impl UnsafeUnpin for SinkObjectProperty
impl UnwindSafe for SinkObjectProperty
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> DecodeOwned for Twhere
T: for<'de> Decode<'de>,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.