pub struct BusinessStartPage {
pub title: String,
pub message: String,
pub sticker: Option<Sticker>,
}
Expand description
Describes settings for a business account start page
Fields§
§title: String
Title text of the start page
message: String
Message text of the start page
sticker: Option<Sticker>
Greeting sticker of the start page; may be null if none
Trait Implementations§
Source§impl Clone for BusinessStartPage
impl Clone for BusinessStartPage
Source§fn clone(&self) -> BusinessStartPage
fn clone(&self) -> BusinessStartPage
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 BusinessStartPage
impl Debug for BusinessStartPage
Source§impl<'de> Deserialize<'de> for BusinessStartPage
impl<'de> Deserialize<'de> for BusinessStartPage
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 PartialEq for BusinessStartPage
impl PartialEq for BusinessStartPage
Source§impl Serialize for BusinessStartPage
impl Serialize for BusinessStartPage
impl StructuralPartialEq for BusinessStartPage
Auto Trait Implementations§
impl Freeze for BusinessStartPage
impl RefUnwindSafe for BusinessStartPage
impl Send for BusinessStartPage
impl Sync for BusinessStartPage
impl Unpin for BusinessStartPage
impl UnwindSafe for BusinessStartPage
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