pub struct RoomWebhookInput {
pub url: String,
pub events: Vec<String>,
}Expand description
Subscribes a room to its session events.
Fields§
§url: StringThe HTTPS endpoint that receives room and session events (≤512 chars).
events: Vec<String>The event names to subscribe to. Wildcards like session* are accepted.
Trait Implementations§
Source§impl Clone for RoomWebhookInput
impl Clone for RoomWebhookInput
Source§fn clone(&self) -> RoomWebhookInput
fn clone(&self) -> RoomWebhookInput
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 moreAuto Trait Implementations§
impl Freeze for RoomWebhookInput
impl RefUnwindSafe for RoomWebhookInput
impl Send for RoomWebhookInput
impl Sync for RoomWebhookInput
impl Unpin for RoomWebhookInput
impl UnsafeUnpin for RoomWebhookInput
impl UnwindSafe for RoomWebhookInput
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