pub struct OrganizationList {
pub data: Vec<Organization>,
pub next_cursor: Option<String>,
}Expand description
A page of the current user’s organizations, with an opaque cursor.
JSON schema
{
"title": "OrganizationList",
"description": "A page of the current user's organizations, with an
opaque cursor.",
"type": "object",
"required": [
"data",
"next_cursor"
],
"properties": {
"data": {
"description": "The organizations on this page.",
"type": "array",
"items": {
"$ref": "#/components/schemas/Organization"
}
},
"next_cursor": {
"description": "Opaque cursor for the next page. Pass it as the
`cursor` query parameter; `null` when there are no more pages.",
"type": [
"string",
"null"
]
}
}
}Fields§
§data: Vec<Organization>The organizations on this page.
next_cursor: Option<String>Opaque cursor for the next page. Pass it as the cursor query
parameter; null when there are no more pages.
Trait Implementations§
Source§impl Clone for OrganizationList
impl Clone for OrganizationList
Source§fn clone(&self) -> OrganizationList
fn clone(&self) -> OrganizationList
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OrganizationList
impl Debug for OrganizationList
Source§impl<'de> Deserialize<'de> for OrganizationList
impl<'de> Deserialize<'de> for OrganizationList
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<OrganizationList, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<OrganizationList, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for OrganizationList
impl Serialize for OrganizationList
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for OrganizationList
impl RefUnwindSafe for OrganizationList
impl Send for OrganizationList
impl Sync for OrganizationList
impl Unpin for OrganizationList
impl UnsafeUnpin for OrganizationList
impl UnwindSafe for OrganizationList
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