#[non_exhaustive]pub struct SecurityStatus {
pub state: State,
pub message: String,
pub update_time: Option<Timestamp>,
/* private fields */
}Expand description
Security policy status of the asset. Data security policy, i.e., readers, writers & owners, should be specified in the lake/zone/asset IAM policy.
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.state: StateThe current state of the security policy applied to the attached resource.
message: StringAdditional information about the current state.
update_time: Option<Timestamp>Last update time of the status.
Implementations§
Source§impl SecurityStatus
impl SecurityStatus
pub fn new() -> Self
Sourcepub fn set_message<T: Into<String>>(self, v: T) -> Self
pub fn set_message<T: Into<String>>(self, v: T) -> Self
Sets the value of message.
Sourcepub fn set_update_time<T>(self, v: T) -> Self
pub fn set_update_time<T>(self, v: T) -> Self
Sets the value of update_time.
Sourcepub fn set_or_clear_update_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_update_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of update_time.
Trait Implementations§
Source§impl Clone for SecurityStatus
impl Clone for SecurityStatus
Source§fn clone(&self) -> SecurityStatus
fn clone(&self) -> SecurityStatus
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 SecurityStatus
impl Debug for SecurityStatus
Source§impl Default for SecurityStatus
impl Default for SecurityStatus
Source§fn default() -> SecurityStatus
fn default() -> SecurityStatus
Returns the “default value” for a type. Read more
Source§impl Message for SecurityStatus
impl Message for SecurityStatus
Source§impl PartialEq for SecurityStatus
impl PartialEq for SecurityStatus
impl StructuralPartialEq for SecurityStatus
Auto Trait Implementations§
impl Freeze for SecurityStatus
impl RefUnwindSafe for SecurityStatus
impl Send for SecurityStatus
impl Sync for SecurityStatus
impl Unpin for SecurityStatus
impl UnwindSafe for SecurityStatus
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