pub struct WebHookEmbedImage {
pub url: Option<String>,
}
Fields§
§url: Option<String>
Implementations§
Source§impl WebHookEmbedImage
impl WebHookEmbedImage
pub fn new() -> WebHookEmbedImage
pub fn url<T: AsRef<str>>(self, url: T) -> WebHookEmbedImage
Trait Implementations§
Source§impl Debug for WebHookEmbedImage
impl Debug for WebHookEmbedImage
Source§impl Deserialize for WebHookEmbedImage
impl Deserialize for WebHookEmbedImage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for WebHookEmbedImage
impl RefUnwindSafe for WebHookEmbedImage
impl Send for WebHookEmbedImage
impl Sync for WebHookEmbedImage
impl Unpin for WebHookEmbedImage
impl UnwindSafe for WebHookEmbedImage
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