pub struct PatchedLifecycleRuleRequest {
pub name: Option<String>,
pub content_type: Option<ContentTypeEnum>,
pub object_id: Option<Option<String>>,
pub interval: Option<String>,
pub grace_period: Option<String>,
pub reviewer_groups: Option<Vec<Uuid>>,
pub min_reviewers: Option<u16>,
pub min_reviewers_is_per_group: Option<bool>,
pub reviewers: Option<Vec<Uuid>>,
pub notification_transports: Option<Vec<Uuid>>,
}Expand description
PatchedLifecycleRuleRequest : Mixin to validate that a valid enterprise license exists before allowing to save the object
Fields§
§name: Option<String>§content_type: Option<ContentTypeEnum>§object_id: Option<Option<String>>§interval: Option<String>§grace_period: Option<String>§reviewer_groups: Option<Vec<Uuid>>§min_reviewers: Option<u16>§min_reviewers_is_per_group: Option<bool>§reviewers: Option<Vec<Uuid>>§notification_transports: Option<Vec<Uuid>>Select which transports should be used to notify the reviewers. If none are selected, the notification will only be shown in the authentik UI.
Implementations§
Source§impl PatchedLifecycleRuleRequest
impl PatchedLifecycleRuleRequest
Sourcepub fn new() -> PatchedLifecycleRuleRequest
pub fn new() -> PatchedLifecycleRuleRequest
Mixin to validate that a valid enterprise license exists before allowing to save the object
Trait Implementations§
Source§impl Clone for PatchedLifecycleRuleRequest
impl Clone for PatchedLifecycleRuleRequest
Source§fn clone(&self) -> PatchedLifecycleRuleRequest
fn clone(&self) -> PatchedLifecycleRuleRequest
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 PatchedLifecycleRuleRequest
impl Debug for PatchedLifecycleRuleRequest
Source§impl Default for PatchedLifecycleRuleRequest
impl Default for PatchedLifecycleRuleRequest
Source§fn default() -> PatchedLifecycleRuleRequest
fn default() -> PatchedLifecycleRuleRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedLifecycleRuleRequest
impl<'de> Deserialize<'de> for PatchedLifecycleRuleRequest
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 StructuralPartialEq for PatchedLifecycleRuleRequest
Auto Trait Implementations§
impl Freeze for PatchedLifecycleRuleRequest
impl RefUnwindSafe for PatchedLifecycleRuleRequest
impl Send for PatchedLifecycleRuleRequest
impl Sync for PatchedLifecycleRuleRequest
impl Unpin for PatchedLifecycleRuleRequest
impl UnsafeUnpin for PatchedLifecycleRuleRequest
impl UnwindSafe for PatchedLifecycleRuleRequest
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