#[non_exhaustive]pub struct ListBuildsResponse {
pub builds: Vec<Build>,
pub next_page_token: String,
/* private fields */
}Expand description
Response including listed builds.
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.builds: Vec<Build>Builds will be sorted by create_time, descending.
next_page_token: StringToken to receive the next page of results. This will be absent if the end of the response list has been reached.
Implementations§
Source§impl ListBuildsResponse
impl ListBuildsResponse
pub fn new() -> Self
Sourcepub fn set_builds<T, V>(self, v: T) -> Self
pub fn set_builds<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 = ListBuildsResponse::new().set_next_page_token("example");Trait Implementations§
Source§impl Clone for ListBuildsResponse
impl Clone for ListBuildsResponse
Source§fn clone(&self) -> ListBuildsResponse
fn clone(&self) -> ListBuildsResponse
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 ListBuildsResponse
impl Debug for ListBuildsResponse
Source§impl Default for ListBuildsResponse
impl Default for ListBuildsResponse
Source§fn default() -> ListBuildsResponse
fn default() -> ListBuildsResponse
Returns the “default value” for a type. Read more
Source§impl Message for ListBuildsResponse
impl Message for ListBuildsResponse
Source§impl PartialEq for ListBuildsResponse
impl PartialEq for ListBuildsResponse
impl StructuralPartialEq for ListBuildsResponse
Auto Trait Implementations§
impl Freeze for ListBuildsResponse
impl RefUnwindSafe for ListBuildsResponse
impl Send for ListBuildsResponse
impl Sync for ListBuildsResponse
impl Unpin for ListBuildsResponse
impl UnsafeUnpin for ListBuildsResponse
impl UnwindSafe for ListBuildsResponse
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