#[non_exhaustive]pub struct ClientApprovalRuleState {
pub argv_prefix: Vec<String>,
pub origin: PolicyRuleOrigin,
}Expand description
One listed client-supplied rule in EffectivePermissionState: the prefix
plus its origin.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.argv_prefix: Vec<String>The argv-token prefix.
origin: PolicyRuleOriginAlways client on this surface; carried so the listing stays
attributable if it ever merges families.
Trait Implementations§
Source§impl Clone for ClientApprovalRuleState
impl Clone for ClientApprovalRuleState
Source§impl Debug for ClientApprovalRuleState
impl Debug for ClientApprovalRuleState
Source§impl<'de> Deserialize<'de> for ClientApprovalRuleState
impl<'de> Deserialize<'de> for ClientApprovalRuleState
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 ClientApprovalRuleState
Source§impl PartialEq for ClientApprovalRuleState
impl PartialEq for ClientApprovalRuleState
Source§impl Serialize for ClientApprovalRuleState
impl Serialize for ClientApprovalRuleState
impl StructuralPartialEq for ClientApprovalRuleState
Auto Trait Implementations§
impl Forget for ClientApprovalRuleState
impl Freeze for ClientApprovalRuleState
impl Move for ClientApprovalRuleState
impl RefUnwindSafe for ClientApprovalRuleState
impl Send for ClientApprovalRuleState
impl Sync for ClientApprovalRuleState
impl Unpin for ClientApprovalRuleState
impl UnsafeUnpin for ClientApprovalRuleState
impl UnwindSafe for ClientApprovalRuleState
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