#[non_exhaustive]pub struct SendInvitesInput {
pub space_id: Option<String>,
pub accessor_ids: Option<Vec<String>>,
pub title: Option<String>,
pub body: Option<String>,
}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.space_id: Option<String>The ID of the private re:Post.
accessor_ids: Option<Vec<String>>The array of identifiers for the users and groups.
title: Option<String>The title of the invite.
body: Option<String>The body of the invite.
Implementations§
source§impl SendInvitesInput
impl SendInvitesInput
sourcepub fn accessor_ids(&self) -> &[String]
pub fn accessor_ids(&self) -> &[String]
The array of identifiers for the users and groups.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .accessor_ids.is_none().
source§impl SendInvitesInput
impl SendInvitesInput
sourcepub fn builder() -> SendInvitesInputBuilder
pub fn builder() -> SendInvitesInputBuilder
Creates a new builder-style object to manufacture SendInvitesInput.
Trait Implementations§
source§impl Clone for SendInvitesInput
impl Clone for SendInvitesInput
source§fn clone(&self) -> SendInvitesInput
fn clone(&self) -> SendInvitesInput
Returns a copy 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 SendInvitesInput
impl Debug for SendInvitesInput
source§impl PartialEq for SendInvitesInput
impl PartialEq for SendInvitesInput
source§fn eq(&self, other: &SendInvitesInput) -> bool
fn eq(&self, other: &SendInvitesInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SendInvitesInput
Auto Trait Implementations§
impl Freeze for SendInvitesInput
impl RefUnwindSafe for SendInvitesInput
impl Send for SendInvitesInput
impl Sync for SendInvitesInput
impl Unpin for SendInvitesInput
impl UnwindSafe for SendInvitesInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.