#[non_exhaustive]pub struct LoggingConfig {
pub log_actions: Vec<LoggableAction>,
pub log_action_states: Vec<LoggableActionState>,
/* private fields */
}Expand description
Specifies the Cloud Logging behavior.
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.log_actions: Vec<LoggableAction>Required. Specifies the actions to be logged.
log_action_states: Vec<LoggableActionState>Required. States in which Action are logged.If empty, no logs are generated.
Implementations§
Source§impl LoggingConfig
impl LoggingConfig
pub fn new() -> Self
Sourcepub fn set_log_actions<T, V>(self, v: T) -> Self
pub fn set_log_actions<T, V>(self, v: T) -> Self
Sets the value of log_actions.
Sourcepub fn set_log_action_states<T, V>(self, v: T) -> Self
pub fn set_log_action_states<T, V>(self, v: T) -> Self
Sets the value of log_action_states.
Trait Implementations§
Source§impl Clone for LoggingConfig
impl Clone for LoggingConfig
Source§fn clone(&self) -> LoggingConfig
fn clone(&self) -> LoggingConfig
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 LoggingConfig
impl Debug for LoggingConfig
Source§impl Default for LoggingConfig
impl Default for LoggingConfig
Source§fn default() -> LoggingConfig
fn default() -> LoggingConfig
Returns the “default value” for a type. Read more
Source§impl Message for LoggingConfig
impl Message for LoggingConfig
Source§impl PartialEq for LoggingConfig
impl PartialEq for LoggingConfig
impl StructuralPartialEq for LoggingConfig
Auto Trait Implementations§
impl Freeze for LoggingConfig
impl RefUnwindSafe for LoggingConfig
impl Send for LoggingConfig
impl Sync for LoggingConfig
impl Unpin for LoggingConfig
impl UnwindSafe for LoggingConfig
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