pub struct RoomInvitePayload {
pub invitee: Option<AgentId>,
pub role: Role,
pub expires_at: i64,
pub max_uses: Option<u32>,
pub approval_required: Option<bool>,
}Fields§
§invitee: Option<AgentId>§role: Role§expires_at: i64§max_uses: Option<u32>§approval_required: Option<bool>Trait Implementations§
Source§impl Clone for RoomInvitePayload
impl Clone for RoomInvitePayload
Source§fn clone(&self) -> RoomInvitePayload
fn clone(&self) -> RoomInvitePayload
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 RoomInvitePayload
impl Debug for RoomInvitePayload
Source§impl<'de> Deserialize<'de> for RoomInvitePayload
impl<'de> Deserialize<'de> for RoomInvitePayload
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 RoomInvitePayload
impl PartialEq for RoomInvitePayload
Source§fn eq(&self, other: &RoomInvitePayload) -> bool
fn eq(&self, other: &RoomInvitePayload) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RoomInvitePayload
impl Serialize for RoomInvitePayload
impl Eq for RoomInvitePayload
impl StructuralPartialEq for RoomInvitePayload
Auto Trait Implementations§
impl Freeze for RoomInvitePayload
impl RefUnwindSafe for RoomInvitePayload
impl Send for RoomInvitePayload
impl Sync for RoomInvitePayload
impl Unpin for RoomInvitePayload
impl UnsafeUnpin for RoomInvitePayload
impl UnwindSafe for RoomInvitePayload
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