#[non_exhaustive]pub struct ListScanConfigsRequest {
pub parent: String,
pub page_token: String,
pub page_size: i32,
/* private fields */
}Expand description
Request for the ListScanConfigs method.
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.parent: StringRequired. The parent resource name, which should be a project resource name in the format ‘projects/{projectId}’.
page_token: StringA token identifying a page of results to be returned. This should be a
next_page_token value returned from a previous List request.
If unspecified, the first page of results is returned.
page_size: i32The maximum number of ScanConfigs to return, can be limited by server. If not specified or not positive, the implementation will select a reasonable value.
Implementations§
Source§impl ListScanConfigsRequest
impl ListScanConfigsRequest
pub fn new() -> Self
Sourcepub fn set_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_parent<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_page_token<T: Into<String>>(self, v: T) -> Self
pub fn set_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of page_token.
§Example
ⓘ
let x = ListScanConfigsRequest::new().set_page_token("example");Trait Implementations§
Source§impl Clone for ListScanConfigsRequest
impl Clone for ListScanConfigsRequest
Source§fn clone(&self) -> ListScanConfigsRequest
fn clone(&self) -> ListScanConfigsRequest
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 ListScanConfigsRequest
impl Debug for ListScanConfigsRequest
Source§impl Default for ListScanConfigsRequest
impl Default for ListScanConfigsRequest
Source§fn default() -> ListScanConfigsRequest
fn default() -> ListScanConfigsRequest
Returns the “default value” for a type. Read more
Source§impl Message for ListScanConfigsRequest
impl Message for ListScanConfigsRequest
Source§impl PartialEq for ListScanConfigsRequest
impl PartialEq for ListScanConfigsRequest
impl StructuralPartialEq for ListScanConfigsRequest
Auto Trait Implementations§
impl Freeze for ListScanConfigsRequest
impl RefUnwindSafe for ListScanConfigsRequest
impl Send for ListScanConfigsRequest
impl Sync for ListScanConfigsRequest
impl Unpin for ListScanConfigsRequest
impl UnwindSafe for ListScanConfigsRequest
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