Struct PluginEgressDeclaration
pub struct PluginEgressDeclaration {
pub hosts: Vec<String>,
}Expand description
The optional [egress] table of a plugin manifest.
Absent, empty, and “declares nothing” are the same state, so a manifest that predates this field parses unchanged and declares no destinations.
Fields§
§hosts: Vec<String>Exact hosts or *.suffix patterns, in the strict egress grammar
(zeroclaw_infra::net_guard::normalize_egress_pattern). Invalid grammar
rejects the whole manifest at discovery and at install.
Trait Implementations§
Source§impl Clone for PluginEgressDeclaration
impl Clone for PluginEgressDeclaration
Source§fn clone(&self) -> PluginEgressDeclaration
fn clone(&self) -> PluginEgressDeclaration
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PluginEgressDeclaration
impl Debug for PluginEgressDeclaration
Source§impl Default for PluginEgressDeclaration
impl Default for PluginEgressDeclaration
Source§fn default() -> PluginEgressDeclaration
fn default() -> PluginEgressDeclaration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PluginEgressDeclaration
impl<'de> Deserialize<'de> for PluginEgressDeclaration
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 Eq for PluginEgressDeclaration
Source§impl PartialEq for PluginEgressDeclaration
impl PartialEq for PluginEgressDeclaration
Source§fn eq(&self, other: &PluginEgressDeclaration) -> bool
fn eq(&self, other: &PluginEgressDeclaration) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PluginEgressDeclaration
impl Serialize for PluginEgressDeclaration
impl StructuralPartialEq for PluginEgressDeclaration
Auto Trait Implementations§
impl Freeze for PluginEgressDeclaration
impl RefUnwindSafe for PluginEgressDeclaration
impl Send for PluginEgressDeclaration
impl Sync for PluginEgressDeclaration
impl Unpin for PluginEgressDeclaration
impl UnsafeUnpin for PluginEgressDeclaration
impl UnwindSafe for PluginEgressDeclaration
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.