pub struct SlackUrlSourceElement {
pub url: Url,
pub text: String,
}Expand description
https://docs.slack.dev/reference/block-kit/block-elements/url-source-element
Fields§
§url: Url§text: StringImplementations§
Trait Implementations§
Source§impl Clone for SlackUrlSourceElement
impl Clone for SlackUrlSourceElement
Source§fn clone(&self) -> SlackUrlSourceElement
fn clone(&self) -> SlackUrlSourceElement
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 SlackUrlSourceElement
impl Debug for SlackUrlSourceElement
Source§impl<'de> Deserialize<'de> for SlackUrlSourceElement
impl<'de> Deserialize<'de> for SlackUrlSourceElement
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 From<SlackUrlSourceElement> for SlackTaskCardSource
impl From<SlackUrlSourceElement> for SlackTaskCardSource
Source§fn from(element: SlackUrlSourceElement) -> Self
fn from(element: SlackUrlSourceElement) -> Self
Converts to this type from the input type.
Source§impl From<SlackUrlSourceElementInit> for SlackUrlSourceElement
impl From<SlackUrlSourceElementInit> for SlackUrlSourceElement
Source§fn from(value: SlackUrlSourceElementInit) -> Self
fn from(value: SlackUrlSourceElementInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackUrlSourceElement
impl PartialEq for SlackUrlSourceElement
Source§fn eq(&self, other: &SlackUrlSourceElement) -> bool
fn eq(&self, other: &SlackUrlSourceElement) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SlackUrlSourceElement
impl Serialize for SlackUrlSourceElement
impl StructuralPartialEq for SlackUrlSourceElement
Auto Trait Implementations§
impl Freeze for SlackUrlSourceElement
impl RefUnwindSafe for SlackUrlSourceElement
impl Send for SlackUrlSourceElement
impl Sync for SlackUrlSourceElement
impl Unpin for SlackUrlSourceElement
impl UnsafeUnpin for SlackUrlSourceElement
impl UnwindSafe for SlackUrlSourceElement
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