Struct ruma_federation_api::membership::create_invite::v1::RequestInit
source · pub struct RequestInit {
pub room_id: OwnedRoomId,
pub event_id: OwnedEventId,
pub sender: OwnedUserId,
pub origin: OwnedServerName,
pub origin_server_ts: MilliSecondsSinceUnixEpoch,
pub state_key: OwnedUserId,
pub content: RoomMemberEventContent,
pub unsigned: UnsignedEventContent,
}
Expand description
Initial set of fields of Request
.
Fields§
§room_id: OwnedRoomId
The room ID that the user is being invited to.
event_id: OwnedEventId
The event ID for the invite event, generated by the inviting server.
sender: OwnedUserId
The matrix ID of the user who sent the original m.room.third_party_invite
.
origin: OwnedServerName
The name of the inviting homeserver.
origin_server_ts: MilliSecondsSinceUnixEpoch
A timestamp added by the inviting homeserver.
state_key: OwnedUserId
The user ID of the invited member.
content: RoomMemberEventContent
The content of the event.
unsigned: UnsignedEventContent
Information included alongside the event that is not signed.
Trait Implementations§
source§impl Debug for RequestInit
impl Debug for RequestInit
source§impl From<RequestInit> for Request
impl From<RequestInit> for Request
source§fn from(init: RequestInit) -> Self
fn from(init: RequestInit) -> Self
Creates a new Request
from RequestInit
.
Auto Trait Implementations§
impl Freeze for RequestInit
impl RefUnwindSafe for RequestInit
impl Send for RequestInit
impl Sync for RequestInit
impl Unpin for RequestInit
impl UnwindSafe for RequestInit
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