#[non_exhaustive]pub struct ListRevisionsResponse {
pub revisions: Vec<Revision>,
pub next_page_token: String,
/* private fields */
}Expand description
Response message containing a list of Revisions.
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.revisions: Vec<Revision>The resulting list of Revisions.
next_page_token: StringA token indicating there are more items than page_size. Use it in the next ListRevisions request to continue.
Implementations§
Source§impl ListRevisionsResponse
impl ListRevisionsResponse
pub fn new() -> Self
Sourcepub fn set_revisions<T, V>(self, v: T) -> Self
pub fn set_revisions<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 = ListRevisionsResponse::new().set_next_page_token("example");Trait Implementations§
Source§impl Clone for ListRevisionsResponse
impl Clone for ListRevisionsResponse
Source§fn clone(&self) -> ListRevisionsResponse
fn clone(&self) -> ListRevisionsResponse
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 ListRevisionsResponse
impl Debug for ListRevisionsResponse
Source§impl Default for ListRevisionsResponse
impl Default for ListRevisionsResponse
Source§fn default() -> ListRevisionsResponse
fn default() -> ListRevisionsResponse
Returns the “default value” for a type. Read more
Source§impl Message for ListRevisionsResponse
impl Message for ListRevisionsResponse
Source§impl PartialEq for ListRevisionsResponse
impl PartialEq for ListRevisionsResponse
impl StructuralPartialEq for ListRevisionsResponse
Auto Trait Implementations§
impl Freeze for ListRevisionsResponse
impl RefUnwindSafe for ListRevisionsResponse
impl Send for ListRevisionsResponse
impl Sync for ListRevisionsResponse
impl Unpin for ListRevisionsResponse
impl UnwindSafe for ListRevisionsResponse
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