#[non_exhaustive]pub struct ListLinksResponse {
pub links: Vec<Link>,
pub next_page_token: String,
/* private fields */
}Expand description
The response from ListLinks.
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.links: Vec<Link>A list of links.
next_page_token: StringIf there might be more results than those appearing in this response, then
nextPageToken is included. To get the next set of results, call the same
method again using the value of nextPageToken as pageToken.
Implementations§
Source§impl ListLinksResponse
impl ListLinksResponse
pub fn new() -> 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.
Trait Implementations§
Source§impl Clone for ListLinksResponse
impl Clone for ListLinksResponse
Source§fn clone(&self) -> ListLinksResponse
fn clone(&self) -> ListLinksResponse
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 ListLinksResponse
impl Debug for ListLinksResponse
Source§impl Default for ListLinksResponse
impl Default for ListLinksResponse
Source§fn default() -> ListLinksResponse
fn default() -> ListLinksResponse
Returns the “default value” for a type. Read more
Source§impl Message for ListLinksResponse
impl Message for ListLinksResponse
Source§impl PartialEq for ListLinksResponse
impl PartialEq for ListLinksResponse
impl StructuralPartialEq for ListLinksResponse
Auto Trait Implementations§
impl Freeze for ListLinksResponse
impl RefUnwindSafe for ListLinksResponse
impl Send for ListLinksResponse
impl Sync for ListLinksResponse
impl Unpin for ListLinksResponse
impl UnwindSafe for ListLinksResponse
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