#[non_exhaustive]pub struct ListKeyRingsResponse {
pub key_rings: Vec<KeyRing>,
pub next_page_token: String,
pub total_size: i32,
/* private fields */
}Expand description
Response message for KeyManagementService.ListKeyRings.
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.key_rings: Vec<KeyRing>The list of KeyRings.
next_page_token: StringA token to retrieve next page of results. Pass this value in ListKeyRingsRequest.page_token to retrieve the next page of results.
total_size: i32The total number of KeyRings that matched the query.
This field is not populated if ListKeyRingsRequest.filter is applied.
Implementations§
Source§impl ListKeyRingsResponse
impl ListKeyRingsResponse
pub fn new() -> Self
Sourcepub fn set_key_rings<T, V>(self, v: T) -> Self
pub fn set_key_rings<T, V>(self, v: T) -> Self
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 = ListKeyRingsResponse::new().set_next_page_token("example");Sourcepub fn set_total_size<T: Into<i32>>(self, v: T) -> Self
pub fn set_total_size<T: Into<i32>>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for ListKeyRingsResponse
impl Clone for ListKeyRingsResponse
Source§fn clone(&self) -> ListKeyRingsResponse
fn clone(&self) -> ListKeyRingsResponse
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 ListKeyRingsResponse
impl Debug for ListKeyRingsResponse
Source§impl Default for ListKeyRingsResponse
impl Default for ListKeyRingsResponse
Source§fn default() -> ListKeyRingsResponse
fn default() -> ListKeyRingsResponse
Returns the “default value” for a type. Read more
Source§impl Message for ListKeyRingsResponse
impl Message for ListKeyRingsResponse
Source§impl PartialEq for ListKeyRingsResponse
impl PartialEq for ListKeyRingsResponse
impl StructuralPartialEq for ListKeyRingsResponse
Auto Trait Implementations§
impl Freeze for ListKeyRingsResponse
impl RefUnwindSafe for ListKeyRingsResponse
impl Send for ListKeyRingsResponse
impl Sync for ListKeyRingsResponse
impl Unpin for ListKeyRingsResponse
impl UnsafeUnpin for ListKeyRingsResponse
impl UnwindSafe for ListKeyRingsResponse
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