pub struct UrlSourceElement {
pub url: String,
pub text: String,
/* private fields */
}Expand description
A URL source shown in a task card block. https://docs.slack.dev/reference/block-kit/block-elements/url-source-element
Fields§
§url: String§text: StringImplementations§
Trait Implementations§
Source§impl Clone for UrlSourceElement
impl Clone for UrlSourceElement
Source§impl Debug for UrlSourceElement
impl Debug for UrlSourceElement
Source§impl<'de> Deserialize<'de> for UrlSourceElement
impl<'de> Deserialize<'de> for UrlSourceElement
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 UrlSourceElement
impl PartialEq for UrlSourceElement
Source§impl Serialize for UrlSourceElement
impl Serialize for UrlSourceElement
impl StructuralPartialEq for UrlSourceElement
Auto Trait Implementations§
impl Freeze for UrlSourceElement
impl RefUnwindSafe for UrlSourceElement
impl Send for UrlSourceElement
impl Sync for UrlSourceElement
impl Unpin for UrlSourceElement
impl UnsafeUnpin for UrlSourceElement
impl UnwindSafe for UrlSourceElement
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