#[non_exhaustive]pub struct ListParametersResponse {
pub parameters: Vec<Parameter>,
pub next_page_token: String,
pub unreachable: Vec<String>,
/* private fields */
}Expand description
Message for response to listing Parameters
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.parameters: Vec<Parameter>The list of Parameters
next_page_token: StringA token identifying a page of results the server should return.
unreachable: Vec<String>Unordered list. Locations that could not be reached.
Implementations§
Source§impl ListParametersResponse
impl ListParametersResponse
pub fn new() -> Self
Sourcepub fn set_parameters<T, V>(self, v: T) -> Self
pub fn set_parameters<T, V>(self, v: T) -> Self
Sets the value of parameters.
§Example
ⓘ
use google_cloud_parametermanager_v1::model::Parameter;
let x = ListParametersResponse::new()
.set_parameters([
Parameter::default()/* use setters */,
Parameter::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 = ListParametersResponse::new().set_next_page_token("example");Sourcepub fn set_unreachable<T, V>(self, v: T) -> Self
pub fn set_unreachable<T, V>(self, v: T) -> Self
Sets the value of unreachable.
§Example
ⓘ
let x = ListParametersResponse::new().set_unreachable(["a", "b", "c"]);Trait Implementations§
Source§impl Clone for ListParametersResponse
impl Clone for ListParametersResponse
Source§fn clone(&self) -> ListParametersResponse
fn clone(&self) -> ListParametersResponse
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 ListParametersResponse
impl Debug for ListParametersResponse
Source§impl Default for ListParametersResponse
impl Default for ListParametersResponse
Source§fn default() -> ListParametersResponse
fn default() -> ListParametersResponse
Returns the “default value” for a type. Read more
Source§impl Message for ListParametersResponse
impl Message for ListParametersResponse
Source§impl PartialEq for ListParametersResponse
impl PartialEq for ListParametersResponse
impl StructuralPartialEq for ListParametersResponse
Auto Trait Implementations§
impl Freeze for ListParametersResponse
impl RefUnwindSafe for ListParametersResponse
impl Send for ListParametersResponse
impl Sync for ListParametersResponse
impl Unpin for ListParametersResponse
impl UnwindSafe for ListParametersResponse
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