pub struct PolicyWatchNotice {
pub kind: ScopedWatchKind,
pub epoch: String,
pub seq: u64,
pub version: Option<u64>,
pub policy_sha256: Option<String>,
}Expand description
A policy watch snapshot. Both policy fields are None when no policy is active.
Fields§
§kind: ScopedWatchKind§epoch: String§seq: u64§version: Option<u64>§policy_sha256: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for PolicyWatchNotice
impl Clone for PolicyWatchNotice
Source§impl Debug for PolicyWatchNotice
impl Debug for PolicyWatchNotice
Source§impl<'de> Deserialize<'de> for PolicyWatchNotice
impl<'de> Deserialize<'de> for PolicyWatchNotice
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 PolicyWatchNotice
Source§impl PartialEq for PolicyWatchNotice
impl PartialEq for PolicyWatchNotice
impl StructuralPartialEq for PolicyWatchNotice
Auto Trait Implementations§
impl Forget for PolicyWatchNotice
impl Freeze for PolicyWatchNotice
impl Move for PolicyWatchNotice
impl RefUnwindSafe for PolicyWatchNotice
impl Send for PolicyWatchNoticewhere
RawVecInner: Send,
impl Sync for PolicyWatchNoticewhere
RawVecInner: Sync,
impl Unpin for PolicyWatchNotice
impl UnsafeUnpin for PolicyWatchNotice
impl UnwindSafe for PolicyWatchNoticewhere
RawVecInner: UnwindSafe,
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