Struct ruma_federation_api::membership::prepare_leave_event::v1::Response
source · pub struct Response {
pub room_version: Option<RoomVersionId>,
pub event: Box<RawValue>,
}
Expand description
Response type for the get_leave_event
endpoint.
Fields§
§room_version: Option<RoomVersionId>
The version of the room where the server is trying to leave.
If not provided, the room version is assumed to be either “1” or “2”.
event: Box<RawValue>
An unsigned template event.
Note that events have a different format depending on the room version - check the room version specification for precise event formats.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)