Struct ruma_federation_api::knock::create_knock_event_template::v1::Response
source · pub struct Response {
pub room_version: RoomVersionId,
pub event: Box<RawValue>,
}
Expand description
Response type for the create_knock_event_template
endpoint.
Fields§
§room_version: RoomVersionId
The version of the room where the server is trying to knock.
event: Box<RawValue>
An unsigned template event.
May differ between room versions.
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
)