pub struct WebhookMini {
pub id: Option<String>,
pub type: Option<WebhookType>,
pub target: Option<WebhookTarget>,
}Fields§
§id: Option<String>§type: Option<WebhookType>§target: Option<WebhookTarget>Trait Implementations§
Source§impl Clone for WebhookMini
impl Clone for WebhookMini
Source§fn clone(&self) -> WebhookMini
fn clone(&self) -> WebhookMini
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 WebhookMini
impl Debug for WebhookMini
Source§impl Default for WebhookMini
impl Default for WebhookMini
Source§fn default() -> WebhookMini
fn default() -> WebhookMini
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookMini
impl<'de> Deserialize<'de> for WebhookMini
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
Source§impl PartialEq for WebhookMini
impl PartialEq for WebhookMini
Source§impl Serialize for WebhookMini
impl Serialize for WebhookMini
impl StructuralPartialEq for WebhookMini
Auto Trait Implementations§
impl Freeze for WebhookMini
impl RefUnwindSafe for WebhookMini
impl Send for WebhookMini
impl Sync for WebhookMini
impl Unpin for WebhookMini
impl UnsafeUnpin for WebhookMini
impl UnwindSafe for WebhookMini
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