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: OwnedRoomIdThe room ID that the user is being invited to.
event_id: OwnedEventIdThe event ID for the invite event, generated by the inviting server.
sender: OwnedUserIdThe matrix ID of the user who sent the original m.room.third_party_invite.
origin: OwnedServerNameThe name of the inviting homeserver.
origin_server_ts: MilliSecondsSinceUnixEpochA timestamp added by the inviting homeserver.
state_key: OwnedUserIdThe user ID of the invited member.
content: RoomMemberEventContentThe content of the event.
unsigned: UnsignedEventContentInformation 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