pub struct LinkPreviewTypeChannelBoost {
pub photo: Option<ChatPhoto>,
}Expand description
The link is a link to boost a channel chat
Fields§
§photo: Option<ChatPhoto>Photo of the chat; may be null
Trait Implementations§
Source§impl Clone for LinkPreviewTypeChannelBoost
impl Clone for LinkPreviewTypeChannelBoost
Source§fn clone(&self) -> LinkPreviewTypeChannelBoost
fn clone(&self) -> LinkPreviewTypeChannelBoost
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 LinkPreviewTypeChannelBoost
impl Debug for LinkPreviewTypeChannelBoost
Source§impl<'de> Deserialize<'de> for LinkPreviewTypeChannelBoost
impl<'de> Deserialize<'de> for LinkPreviewTypeChannelBoost
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
impl StructuralPartialEq for LinkPreviewTypeChannelBoost
Auto Trait Implementations§
impl Freeze for LinkPreviewTypeChannelBoost
impl RefUnwindSafe for LinkPreviewTypeChannelBoost
impl Send for LinkPreviewTypeChannelBoost
impl Sync for LinkPreviewTypeChannelBoost
impl Unpin for LinkPreviewTypeChannelBoost
impl UnsafeUnpin for LinkPreviewTypeChannelBoost
impl UnwindSafe for LinkPreviewTypeChannelBoost
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