pub struct ProjectList {
pub etag: Option<String>,
pub kind: Option<String>,
pub next_page_token: Option<String>,
pub projects: Option<Vec<ProjectListProjects>>,
pub total_items: Option<i32>,
}Expand description
Response object of ListProjects
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- list projects (response)
Fields§
§etag: Option<String>A hash of the page of results.
kind: Option<String>The resource type of the response.
next_page_token: Option<String>Use this token to request the next page of results.
projects: Option<Vec<ProjectListProjects>>Projects to which the user has at least READ access.
total_items: Option<i32>The total number of projects in the page. A wrapper is used here because the field should still be in the response when the value is 0.
Trait Implementations§
Source§impl Clone for ProjectList
impl Clone for ProjectList
Source§fn clone(&self) -> ProjectList
fn clone(&self) -> ProjectList
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 ProjectList
impl Debug for ProjectList
Source§impl Default for ProjectList
impl Default for ProjectList
Source§fn default() -> ProjectList
fn default() -> ProjectList
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectList
impl<'de> Deserialize<'de> for ProjectList
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 Serialize for ProjectList
impl Serialize for ProjectList
impl ResponseResult for ProjectList
Auto Trait Implementations§
impl Freeze for ProjectList
impl RefUnwindSafe for ProjectList
impl Send for ProjectList
impl Sync for ProjectList
impl Unpin for ProjectList
impl UnwindSafe for ProjectList
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