#[non_exhaustive]pub struct GCWorkerEventListOptions {
pub node_id: Option<String>,
pub goal: Option<String>,
pub sid: Option<i64>,
pub metadata_cluster_id: Option<i64>,
pub since: Option<String>,
pub page: Option<i64>,
pub limit: Option<i64>,
}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.node_id: Option<String>§goal: Option<String>§sid: Option<i64>§metadata_cluster_id: Option<i64>§since: Option<String>§page: Option<i64>§limit: Option<i64>Implementations§
Source§impl GCWorkerEventListOptions
impl GCWorkerEventListOptions
Sourcepub fn with_node_id(self, value: impl Into<String>) -> Self
pub fn with_node_id(self, value: impl Into<String>) -> Self
Sets node_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_since(self, value: impl Into<String>) -> Self
pub fn with_since(self, value: impl Into<String>) -> Self
Sets since.
Sourcepub fn with_limit(self, value: i64) -> Self
pub fn with_limit(self, value: i64) -> Self
Sets limit.
Trait Implementations§
Source§impl Clone for GCWorkerEventListOptions
impl Clone for GCWorkerEventListOptions
Source§impl Debug for GCWorkerEventListOptions
impl Debug for GCWorkerEventListOptions
Auto Trait Implementations§
impl Freeze for GCWorkerEventListOptions
impl RefUnwindSafe for GCWorkerEventListOptions
impl Send for GCWorkerEventListOptions
impl Sync for GCWorkerEventListOptions
impl Unpin for GCWorkerEventListOptions
impl UnsafeUnpin for GCWorkerEventListOptions
impl UnwindSafe for GCWorkerEventListOptions
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