pub struct SlackUrlSourceElementInit {
pub url: Url,
pub text: String,
}Expand description
Required fields of SlackUrlSourceElement; convert with SlackUrlSourceElement::from or .into().
Fields§
§url: UrlValue for the url field of SlackUrlSourceElement.
text: StringValue for the text field of SlackUrlSourceElement.
Trait Implementations§
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.
Auto Trait Implementations§
impl Freeze for SlackUrlSourceElementInit
impl RefUnwindSafe for SlackUrlSourceElementInit
impl Send for SlackUrlSourceElementInit
impl Sync for SlackUrlSourceElementInit
impl Unpin for SlackUrlSourceElementInit
impl UnsafeUnpin for SlackUrlSourceElementInit
impl UnwindSafe for SlackUrlSourceElementInit
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