pub struct ZonePolicyConfig {
pub zone_id: String,
pub allow_semantic: bool,
pub allow_affect: bool,
pub allow_hive: bool,
pub max_message_size: u64,
}Expand description
Per-zone federation policy configuration.
Fields§
§zone_id: StringZone identifier.
allow_semantic: boolAllow semantic operations through this zone.
allow_affect: boolAllow affect propagation through this zone.
allow_hive: boolAllow hive operations through this zone.
max_message_size: u64Maximum message size in bytes (0 = unlimited).
Trait Implementations§
Source§impl Clone for ZonePolicyConfig
impl Clone for ZonePolicyConfig
Source§fn clone(&self) -> ZonePolicyConfig
fn clone(&self) -> ZonePolicyConfig
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 ZonePolicyConfig
impl Debug for ZonePolicyConfig
Source§impl<'de> Deserialize<'de> for ZonePolicyConfig
impl<'de> Deserialize<'de> for ZonePolicyConfig
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 ZonePolicyConfig
impl RefUnwindSafe for ZonePolicyConfig
impl Send for ZonePolicyConfig
impl Sync for ZonePolicyConfig
impl Unpin for ZonePolicyConfig
impl UnsafeUnpin for ZonePolicyConfig
impl UnwindSafe for ZonePolicyConfig
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