#[non_exhaustive]pub struct AuditLogListOptions {
pub account_id: i64,
pub region_id: Option<i64>,
pub metadata_cluster_id: Option<i64>,
pub cursor: Option<i64>,
pub limit: Option<i64>,
pub subject: Option<String>,
pub created_by: Option<String>,
}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.account_id: i64§region_id: Option<i64>§metadata_cluster_id: Option<i64>§cursor: Option<i64>§limit: Option<i64>§subject: Option<String>§created_by: Option<String>Implementations§
Source§impl AuditLogListOptions
impl AuditLogListOptions
Sourcepub fn new(account_id: i64) -> Self
pub fn new(account_id: i64) -> Self
Builds the value from its required fields. Optional fields start unset.
Sourcepub fn with_region_id(self, value: i64) -> Self
pub fn with_region_id(self, value: i64) -> Self
Sets region_id.
Sourcepub fn with_metadata_cluster_id(self, value: i64) -> Self
pub fn with_metadata_cluster_id(self, value: i64) -> Self
Sets metadata_cluster_id.
Sourcepub fn with_cursor(self, value: i64) -> Self
pub fn with_cursor(self, value: i64) -> Self
Sets cursor.
Sourcepub fn with_limit(self, value: i64) -> Self
pub fn with_limit(self, value: i64) -> Self
Sets limit.
Sourcepub fn with_subject(self, value: impl Into<String>) -> Self
pub fn with_subject(self, value: impl Into<String>) -> Self
Sets subject.
Sourcepub fn with_created_by(self, value: impl Into<String>) -> Self
pub fn with_created_by(self, value: impl Into<String>) -> Self
Sets created_by.
Trait Implementations§
Source§impl Clone for AuditLogListOptions
impl Clone for AuditLogListOptions
Source§impl Debug for AuditLogListOptions
impl Debug for AuditLogListOptions
Auto Trait Implementations§
impl Freeze for AuditLogListOptions
impl RefUnwindSafe for AuditLogListOptions
impl Send for AuditLogListOptions
impl Sync for AuditLogListOptions
impl Unpin for AuditLogListOptions
impl UnsafeUnpin for AuditLogListOptions
impl UnwindSafe for AuditLogListOptions
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