pub struct RoomWebhook {
pub end_point: String,
pub events: Vec<String>,
}Expand description
A room-level webhook subscription, as carried on a Room.
Fields§
§end_point: StringThe HTTPS endpoint that receives room and session events (≤512 chars).
events: Vec<String>The subscribed event names. Wildcards like session* are accepted.
Trait Implementations§
Source§impl Clone for RoomWebhook
impl Clone for RoomWebhook
Source§fn clone(&self) -> RoomWebhook
fn clone(&self) -> RoomWebhook
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 moreSource§impl Debug for RoomWebhook
impl Debug for RoomWebhook
Source§impl<'de> Deserialize<'de> for RoomWebhook
impl<'de> Deserialize<'de> for RoomWebhook
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RoomWebhook
impl RefUnwindSafe for RoomWebhook
impl Send for RoomWebhook
impl Sync for RoomWebhook
impl Unpin for RoomWebhook
impl UnsafeUnpin for RoomWebhook
impl UnwindSafe for RoomWebhook
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