pub struct TypedConfig {
pub type_url: String,
pub config: Value,
}Expand description
A typed config entry from pipeline configuration.
Same shape as Envoy’s TypedExtensionConfig: a type URL that identifies
the factory, and an opaque config blob deserialized by the factory.
Fields§
§type_url: StringFactory lookup key (e.g. mox.geist.processors.v1.AccessControl).
config: ValueOpaque config — each factory deserializes into its own type.
Trait Implementations§
Source§impl Clone for TypedConfig
impl Clone for TypedConfig
Source§fn clone(&self) -> TypedConfig
fn clone(&self) -> TypedConfig
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 TypedConfig
impl Debug for TypedConfig
Source§impl<'de> Deserialize<'de> for TypedConfig
impl<'de> Deserialize<'de> for TypedConfig
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 TypedConfig
impl RefUnwindSafe for TypedConfig
impl Send for TypedConfig
impl Sync for TypedConfig
impl Unpin for TypedConfig
impl UnsafeUnpin for TypedConfig
impl UnwindSafe for TypedConfig
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