pub struct SlackUnfurlIdSource {
pub source: String,
pub unfurl_id: SlackUnfurlId,
}Fields§
§source: String§unfurl_id: SlackUnfurlIdImplementations§
Source§impl SlackUnfurlIdSource
impl SlackUnfurlIdSource
pub fn new(source: String, unfurl_id: SlackUnfurlId) -> Self
pub fn source(&mut self, value: String) -> &mut Self
pub fn with_source(self, value: String) -> Self
pub fn unfurl_id(&mut self, value: SlackUnfurlId) -> &mut Self
pub fn with_unfurl_id(self, value: SlackUnfurlId) -> Self
Trait Implementations§
Source§impl Clone for SlackUnfurlIdSource
impl Clone for SlackUnfurlIdSource
Source§fn clone(&self) -> SlackUnfurlIdSource
fn clone(&self) -> SlackUnfurlIdSource
Returns a duplicate of the value. Read more
1.0.0 · 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 SlackUnfurlIdSource
impl Debug for SlackUnfurlIdSource
Source§impl<'de> Deserialize<'de> for SlackUnfurlIdSource
impl<'de> Deserialize<'de> for SlackUnfurlIdSource
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<SlackUnfurlIdSourceInit> for SlackUnfurlIdSource
impl From<SlackUnfurlIdSourceInit> for SlackUnfurlIdSource
Source§fn from(value: SlackUnfurlIdSourceInit) -> Self
fn from(value: SlackUnfurlIdSourceInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackUnfurlIdSource
impl PartialEq for SlackUnfurlIdSource
Source§impl Serialize for SlackUnfurlIdSource
impl Serialize for SlackUnfurlIdSource
impl StructuralPartialEq for SlackUnfurlIdSource
Auto Trait Implementations§
impl Freeze for SlackUnfurlIdSource
impl RefUnwindSafe for SlackUnfurlIdSource
impl Send for SlackUnfurlIdSource
impl Sync for SlackUnfurlIdSource
impl Unpin for SlackUnfurlIdSource
impl UnwindSafe for SlackUnfurlIdSource
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