pub struct InviteListResponse {
pub data: Vec<Invite>,
pub first_id: Option<String>,
pub last_id: Option<String>,
pub has_more: Option<bool>,
}
Fields§
§data: Vec<Invite>
§first_id: Option<String>
The first invite_id
in the retrieved list
last_id: Option<String>
The last invite_id
in the retrieved list
has_more: Option<bool>
The has_more
property is used for pagination to indicate there are additional results.
Implementations§
Source§impl InviteListResponse
impl InviteListResponse
Sourcepub fn builder() -> InviteListResponseBuilder<((), (), (), ())>
pub fn builder() -> InviteListResponseBuilder<((), (), (), ())>
Create a builder for building InviteListResponse
.
On the builder, call .data(...)
, .first_id(...)
(optional), .last_id(...)
(optional), .has_more(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of InviteListResponse
.
Trait Implementations§
Source§impl Clone for InviteListResponse
impl Clone for InviteListResponse
Source§fn clone(&self) -> InviteListResponse
fn clone(&self) -> InviteListResponse
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 InviteListResponse
impl Debug for InviteListResponse
Source§impl<'de> Deserialize<'de> for InviteListResponse
impl<'de> Deserialize<'de> for InviteListResponse
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 PartialEq for InviteListResponse
impl PartialEq for InviteListResponse
Source§impl Serialize for InviteListResponse
impl Serialize for InviteListResponse
impl StructuralPartialEq for InviteListResponse
Auto Trait Implementations§
impl Freeze for InviteListResponse
impl RefUnwindSafe for InviteListResponse
impl Send for InviteListResponse
impl Sync for InviteListResponse
impl Unpin for InviteListResponse
impl UnwindSafe for InviteListResponse
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