#[non_exhaustive]pub struct ListScanConfigsResponse {
pub scan_configs: Vec<ScanConfig>,
pub next_page_token: String,
/* private fields */
}Expand description
Response 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.scan_configs: Vec<ScanConfig>The list of ScanConfigs returned.
next_page_token: StringToken to retrieve the next page of results, or empty if there are no more results in the list.
Implementations§
Source§impl ListScanConfigsResponse
impl ListScanConfigsResponse
pub fn new() -> Self
Sourcepub fn set_scan_configs<T, V>(self, v: T) -> Self
pub fn set_scan_configs<T, V>(self, v: T) -> Self
Sets the value of scan_configs.
§Example
ⓘ
use google_cloud_websecurityscanner_v1::model::ScanConfig;
let x = ListScanConfigsResponse::new()
.set_scan_configs([
ScanConfig::default()/* use setters */,
ScanConfig::default()/* use (different) setters */,
]);Sourcepub fn set_next_page_token<T: Into<String>>(self, v: T) -> Self
pub fn set_next_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of next_page_token.
§Example
ⓘ
let x = ListScanConfigsResponse::new().set_next_page_token("example");Trait Implementations§
Source§impl Clone for ListScanConfigsResponse
impl Clone for ListScanConfigsResponse
Source§fn clone(&self) -> ListScanConfigsResponse
fn clone(&self) -> ListScanConfigsResponse
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 ListScanConfigsResponse
impl Debug for ListScanConfigsResponse
Source§impl Default for ListScanConfigsResponse
impl Default for ListScanConfigsResponse
Source§fn default() -> ListScanConfigsResponse
fn default() -> ListScanConfigsResponse
Returns the “default value” for a type. Read more
Source§impl Message for ListScanConfigsResponse
impl Message for ListScanConfigsResponse
Source§impl PartialEq for ListScanConfigsResponse
impl PartialEq for ListScanConfigsResponse
impl StructuralPartialEq for ListScanConfigsResponse
Auto Trait Implementations§
impl Freeze for ListScanConfigsResponse
impl RefUnwindSafe for ListScanConfigsResponse
impl Send for ListScanConfigsResponse
impl Sync for ListScanConfigsResponse
impl Unpin for ListScanConfigsResponse
impl UnwindSafe for ListScanConfigsResponse
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