#[non_exhaustive]pub struct ListPostureTemplatesResponse {
pub posture_templates: Vec<PostureTemplate>,
pub next_page_token: String,
/* private fields */
}Expand description
Message for response to listing PostureTemplates.
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.posture_templates: Vec<PostureTemplate>The list of PostureTemplate.
next_page_token: StringA token identifying a page of results the server should return.
Implementations§
Source§impl ListPostureTemplatesResponse
impl ListPostureTemplatesResponse
pub fn new() -> Self
Sourcepub fn set_posture_templates<T, V>(self, v: T) -> Self
pub fn set_posture_templates<T, V>(self, v: T) -> Self
Sets the value of posture_templates.
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.
Trait Implementations§
Source§impl Clone for ListPostureTemplatesResponse
impl Clone for ListPostureTemplatesResponse
Source§fn clone(&self) -> ListPostureTemplatesResponse
fn clone(&self) -> ListPostureTemplatesResponse
Returns a copy 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 ListPostureTemplatesResponse
impl Debug for ListPostureTemplatesResponse
Source§impl Default for ListPostureTemplatesResponse
impl Default for ListPostureTemplatesResponse
Source§fn default() -> ListPostureTemplatesResponse
fn default() -> ListPostureTemplatesResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListPostureTemplatesResponsewhere
ListPostureTemplatesResponse: Default,
impl<'de> Deserialize<'de> for ListPostureTemplatesResponsewhere
ListPostureTemplatesResponse: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ListPostureTemplatesResponse
impl PartialEq for ListPostureTemplatesResponse
Source§fn eq(&self, other: &ListPostureTemplatesResponse) -> bool
fn eq(&self, other: &ListPostureTemplatesResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ListPostureTemplatesResponse
Auto Trait Implementations§
impl Freeze for ListPostureTemplatesResponse
impl RefUnwindSafe for ListPostureTemplatesResponse
impl Send for ListPostureTemplatesResponse
impl Sync for ListPostureTemplatesResponse
impl Unpin for ListPostureTemplatesResponse
impl UnwindSafe for ListPostureTemplatesResponse
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