#[non_exhaustive]pub struct TruncateLogContext {
pub kind: String,
pub log_type: String,
/* private fields */
}
Expand description
Database Instance truncate log context.
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.kind: String
This is always sql#truncateLogContext
.
log_type: String
The type of log to truncate. Valid values are MYSQL_GENERAL_TABLE
and
MYSQL_SLOW_TABLE
.
Implementations§
Trait Implementations§
Source§impl Clone for TruncateLogContext
impl Clone for TruncateLogContext
Source§fn clone(&self) -> TruncateLogContext
fn clone(&self) -> TruncateLogContext
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 TruncateLogContext
impl Debug for TruncateLogContext
Source§impl Default for TruncateLogContext
impl Default for TruncateLogContext
Source§fn default() -> TruncateLogContext
fn default() -> TruncateLogContext
Returns the “default value” for a type. Read more
Source§impl Message for TruncateLogContext
impl Message for TruncateLogContext
Source§impl PartialEq for TruncateLogContext
impl PartialEq for TruncateLogContext
impl StructuralPartialEq for TruncateLogContext
Auto Trait Implementations§
impl Freeze for TruncateLogContext
impl RefUnwindSafe for TruncateLogContext
impl Send for TruncateLogContext
impl Sync for TruncateLogContext
impl Unpin for TruncateLogContext
impl UnwindSafe for TruncateLogContext
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