pub struct WebhookUrl(String);Expand description
The delivery URL of a webhook, which is never empty.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl AsRef<str> for WebhookUrl
impl AsRef<str> for WebhookUrl
Source§impl Borrow<str> for WebhookUrl
impl Borrow<str> for WebhookUrl
Source§impl Clone for WebhookUrl
impl Clone for WebhookUrl
Source§fn clone(&self) -> WebhookUrl
fn clone(&self) -> WebhookUrl
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 WebhookUrl
impl Debug for WebhookUrl
Source§impl Display for WebhookUrl
impl Display for WebhookUrl
impl Eq for WebhookUrl
Source§impl<'ʄ> Facet<'ʄ> for WebhookUrl
impl<'ʄ> Facet<'ʄ> for WebhookUrl
Source§impl From<&WebhookUrl> for String
impl From<&WebhookUrl> for String
Source§fn from(value: &WebhookUrl) -> Self
fn from(value: &WebhookUrl) -> Self
Converts to this type from the input type.
Source§impl Ord for WebhookUrl
impl Ord for WebhookUrl
Source§fn cmp(&self, other: &WebhookUrl) -> Ordering
fn cmp(&self, other: &WebhookUrl) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for WebhookUrl
impl PartialEq for WebhookUrl
Source§impl PartialOrd for WebhookUrl
impl PartialOrd for WebhookUrl
impl StructuralPartialEq for WebhookUrl
Auto Trait Implementations§
impl Freeze for WebhookUrl
impl RefUnwindSafe for WebhookUrl
impl Send for WebhookUrl
impl Sync for WebhookUrl
impl Unpin for WebhookUrl
impl UnsafeUnpin for WebhookUrl
impl UnwindSafe for WebhookUrl
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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.