pub struct TypedStruct {
pub type_url: String,
pub value: Value,
}Expand description
Typed structured data envelope — a type URL plus an opaque value.
Isomorphic to xDS TypedStruct: a type URL that identifies the schema,
and a structured value interpreted by the consumer (factory, runtime, etc.).
Fields§
§type_url: StringType URL identifying the schema (e.g. mox.geist.processors.v1.AccessControl).
value: ValueOpaque structured value — interpretation determined by the type_url consumer.
Trait Implementations§
Source§impl Clone for TypedStruct
impl Clone for TypedStruct
Source§fn clone(&self) -> TypedStruct
fn clone(&self) -> TypedStruct
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 moreSource§impl Debug for TypedStruct
impl Debug for TypedStruct
Source§impl<'de> Deserialize<'de> for TypedStruct
impl<'de> Deserialize<'de> for TypedStruct
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
Auto Trait Implementations§
impl Freeze for TypedStruct
impl RefUnwindSafe for TypedStruct
impl Send for TypedStruct
impl Sync for TypedStruct
impl Unpin for TypedStruct
impl UnsafeUnpin for TypedStruct
impl UnwindSafe for TypedStruct
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