pub struct HookAttributes {
pub url: Option<String>,
pub active: bool,
}Fields§
§url: Option<String>§active: boolDefault false — ARC apps don’t use webhooks.
Trait Implementations§
Source§impl Clone for HookAttributes
impl Clone for HookAttributes
Source§fn clone(&self) -> HookAttributes
fn clone(&self) -> HookAttributes
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 HookAttributes
impl Debug for HookAttributes
Source§impl Default for HookAttributes
impl Default for HookAttributes
Source§fn default() -> HookAttributes
fn default() -> HookAttributes
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HookAttributes
impl<'de> Deserialize<'de> for HookAttributes
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 HookAttributes
impl RefUnwindSafe for HookAttributes
impl Send for HookAttributes
impl Sync for HookAttributes
impl Unpin for HookAttributes
impl UnsafeUnpin for HookAttributes
impl UnwindSafe for HookAttributes
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