pub struct WebhookRegistration {
pub id: String,
pub method: Option<String>,
pub path: Option<String>,
}Expand description
WebhookRegistration data container.
Fields§
§id: Stringid field for id.
method: Option<String>method field for method.
path: Option<String>path field for path.
Implementations§
Trait Implementations§
Source§impl Clone for WebhookRegistration
impl Clone for WebhookRegistration
Source§fn clone(&self) -> WebhookRegistration
fn clone(&self) -> WebhookRegistration
Returns a duplicate of the value. Read more
1.0.0 · 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 WebhookRegistration
impl Debug for WebhookRegistration
Source§impl PartialEq for WebhookRegistration
impl PartialEq for WebhookRegistration
impl Eq for WebhookRegistration
impl StructuralPartialEq for WebhookRegistration
Auto Trait Implementations§
impl Freeze for WebhookRegistration
impl RefUnwindSafe for WebhookRegistration
impl Send for WebhookRegistration
impl Sync for WebhookRegistration
impl Unpin for WebhookRegistration
impl UnsafeUnpin for WebhookRegistration
impl UnwindSafe for WebhookRegistration
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.