pub struct ClientConditionBody {
pub client: Option<IdOrIds>,
pub client_group: Option<IdOrIds>,
pub client_class: Option<IdOrIds>,
}Expand description
Body of an acl:ClientCondition.
Fields mirror the WAC 2.0 predicates: acl:client, acl:clientGroup,
acl:clientClass. Any subset may be populated; evaluation is OR
across the populated predicates (i.e. a client matching any of them
satisfies the condition).
Fields§
§client: Option<IdOrIds>§client_group: Option<IdOrIds>§client_class: Option<IdOrIds>Trait Implementations§
Source§impl Clone for ClientConditionBody
impl Clone for ClientConditionBody
Source§fn clone(&self) -> ClientConditionBody
fn clone(&self) -> ClientConditionBody
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 ClientConditionBody
impl Debug for ClientConditionBody
Source§impl Default for ClientConditionBody
impl Default for ClientConditionBody
Source§fn default() -> ClientConditionBody
fn default() -> ClientConditionBody
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClientConditionBody
impl<'de> Deserialize<'de> for ClientConditionBody
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 ClientConditionBody
impl RefUnwindSafe for ClientConditionBody
impl Send for ClientConditionBody
impl Sync for ClientConditionBody
impl Unpin for ClientConditionBody
impl UnsafeUnpin for ClientConditionBody
impl UnwindSafe for ClientConditionBody
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