pub struct FrozenDelegationPolicy {
pub targets: Vec<AgentId>,
pub effective_depth_ceiling: u32,
}Fields§
§targets: Vec<AgentId>§effective_depth_ceiling: u32Implementations§
Source§impl FrozenDelegationPolicy
impl FrozenDelegationPolicy
pub fn validate(&self) -> Result<(), AgentSchemaError>
Trait Implementations§
Source§impl Clone for FrozenDelegationPolicy
impl Clone for FrozenDelegationPolicy
Source§fn clone(&self) -> FrozenDelegationPolicy
fn clone(&self) -> FrozenDelegationPolicy
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 FrozenDelegationPolicy
impl Debug for FrozenDelegationPolicy
Source§impl<'de> Deserialize<'de> for FrozenDelegationPolicy
impl<'de> Deserialize<'de> for FrozenDelegationPolicy
Source§fn deserialize<D>(d: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FrozenDelegationPolicy
Source§impl JsonSchema for FrozenDelegationPolicy
impl JsonSchema for FrozenDelegationPolicy
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for FrozenDelegationPolicy
impl PartialEq for FrozenDelegationPolicy
Source§fn eq(&self, other: &FrozenDelegationPolicy) -> bool
fn eq(&self, other: &FrozenDelegationPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FrozenDelegationPolicy
impl Serialize for FrozenDelegationPolicy
impl StructuralPartialEq for FrozenDelegationPolicy
Auto Trait Implementations§
impl Freeze for FrozenDelegationPolicy
impl RefUnwindSafe for FrozenDelegationPolicy
impl Send for FrozenDelegationPolicy
impl Sync for FrozenDelegationPolicy
impl Unpin for FrozenDelegationPolicy
impl UnsafeUnpin for FrozenDelegationPolicy
impl UnwindSafe for FrozenDelegationPolicy
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