pub struct SentinelPolicy {
pub name: Option<String>,
pub description: Option<String>,
pub scope: Option<String>,
pub enforcement_level: Option<String>,
pub policy: Option<String>,
pub create_index: Option<i32>,
pub modify_index: Option<i32>,
}
Fields§
§name: Option<String>
§description: Option<String>
§scope: Option<String>
§enforcement_level: Option<String>
§policy: Option<String>
§create_index: Option<i32>
§modify_index: Option<i32>
Implementations§
Source§impl SentinelPolicy
impl SentinelPolicy
pub fn new() -> SentinelPolicy
Trait Implementations§
Source§impl Clone for SentinelPolicy
impl Clone for SentinelPolicy
Source§fn clone(&self) -> SentinelPolicy
fn clone(&self) -> SentinelPolicy
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SentinelPolicy
impl Debug for SentinelPolicy
Source§impl<'de> Deserialize<'de> for SentinelPolicy
impl<'de> Deserialize<'de> for SentinelPolicy
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 SentinelPolicy
impl PartialEq for SentinelPolicy
Source§impl Serialize for SentinelPolicy
impl Serialize for SentinelPolicy
impl StructuralPartialEq for SentinelPolicy
Auto Trait Implementations§
impl Freeze for SentinelPolicy
impl RefUnwindSafe for SentinelPolicy
impl Send for SentinelPolicy
impl Sync for SentinelPolicy
impl Unpin for SentinelPolicy
impl UnwindSafe for SentinelPolicy
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