pub struct GetProjectsResponse {
pub data: Option<Vec<ProjectCompact>>,
pub next_page: Option<NextPage>,
}
Fields§
§data: Option<Vec<ProjectCompact>>
§next_page: Option<NextPage>
Conditional. This property is only present when a limit query parameter is provided in the request. When making a paginated request, the API will return a number of results as specified by the limit parameter. If more results exist, then the response will contain a next_page attribute, which will include an offset, a relative path attribute, and a full uri attribute. If there are no more pages available, next_page will be null and no offset will be provided. Note that an offset token will expire after some time, as data may have changed.
Trait Implementations§
Source§impl Clone for GetProjectsResponse
impl Clone for GetProjectsResponse
Source§fn clone(&self) -> GetProjectsResponse
fn clone(&self) -> GetProjectsResponse
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 GetProjectsResponse
impl Debug for GetProjectsResponse
Source§impl Default for GetProjectsResponse
impl Default for GetProjectsResponse
Source§fn default() -> GetProjectsResponse
fn default() -> GetProjectsResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetProjectsResponse
impl<'de> Deserialize<'de> for GetProjectsResponse
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 Display for GetProjectsResponse
impl Display for GetProjectsResponse
Auto Trait Implementations§
impl Freeze for GetProjectsResponse
impl RefUnwindSafe for GetProjectsResponse
impl Send for GetProjectsResponse
impl Sync for GetProjectsResponse
impl Unpin for GetProjectsResponse
impl UnwindSafe for GetProjectsResponse
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