pub struct ExpressionPolicy {
pub pk: Uuid,
pub name: String,
pub execution_logging: Option<bool>,
pub component: String,
pub verbose_name: String,
pub verbose_name_plural: String,
pub meta_model_name: String,
pub bound_to: i32,
pub expression: String,
}
Expand description
ExpressionPolicy : Group Membership Policy Serializer
Fields§
§pk: Uuid
§name: String
§execution_logging: Option<bool>
When this option is enabled, all executions of this policy will be logged. By default, only execution errors are logged.
component: String
Get object component so that we know how to edit the object
verbose_name: String
Return object’s verbose_name
verbose_name_plural: String
Return object’s plural verbose_name
meta_model_name: String
Return internal model name
bound_to: i32
Return objects policy is bound to
expression: String
Implementations§
Trait Implementations§
Source§impl Clone for ExpressionPolicy
impl Clone for ExpressionPolicy
Source§fn clone(&self) -> ExpressionPolicy
fn clone(&self) -> ExpressionPolicy
Returns a duplicate of the value. Read more
1.0.0 · 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 ExpressionPolicy
impl Debug for ExpressionPolicy
Source§impl Default for ExpressionPolicy
impl Default for ExpressionPolicy
Source§fn default() -> ExpressionPolicy
fn default() -> ExpressionPolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExpressionPolicy
impl<'de> Deserialize<'de> for ExpressionPolicy
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
Source§impl PartialEq for ExpressionPolicy
impl PartialEq for ExpressionPolicy
Source§impl Serialize for ExpressionPolicy
impl Serialize for ExpressionPolicy
impl StructuralPartialEq for ExpressionPolicy
Auto Trait Implementations§
impl Freeze for ExpressionPolicy
impl RefUnwindSafe for ExpressionPolicy
impl Send for ExpressionPolicy
impl Sync for ExpressionPolicy
impl Unpin for ExpressionPolicy
impl UnwindSafe for ExpressionPolicy
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