pub struct ConnectedBotStarRef {
pub revoked: bool,
pub url: String,
pub date: i32,
pub bot_id: i64,
pub commission_permille: i32,
pub duration_months: Option<i32>,
pub participants: i64,
pub revenue: i64,
}Expand description
Generated from:
connectedBotStarRef#19a13f71 flags:# revoked:flags.1?true url:string date:int bot_id:long commission_permille:int duration_months:flags.0?int participants:long revenue:long = ConnectedBotStarRefFields§
§revoked: bool§url: String§date: i32§bot_id: i64§commission_permille: i32§duration_months: Option<i32>§participants: i64§revenue: i64Trait Implementations§
Source§impl Clone for ConnectedBotStarRef
impl Clone for ConnectedBotStarRef
Source§fn clone(&self) -> ConnectedBotStarRef
fn clone(&self) -> ConnectedBotStarRef
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 ConnectedBotStarRef
impl Debug for ConnectedBotStarRef
Source§impl Deserializable for ConnectedBotStarRef
impl Deserializable for ConnectedBotStarRef
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<ConnectedBotStarRef> for ConnectedBotStarRef
impl From<ConnectedBotStarRef> for ConnectedBotStarRef
Source§fn from(x: ConnectedBotStarRef) -> Self
fn from(x: ConnectedBotStarRef) -> Self
Converts to this type from the input type.
Source§impl Identifiable for ConnectedBotStarRef
impl Identifiable for ConnectedBotStarRef
Source§const CONSTRUCTOR_ID: u32 = 0x19a13f71
const CONSTRUCTOR_ID: u32 = 0x19a13f71
The constructor ID as specified in the TL schema.
Source§impl PartialEq for ConnectedBotStarRef
impl PartialEq for ConnectedBotStarRef
Source§impl Serializable for ConnectedBotStarRef
impl Serializable for ConnectedBotStarRef
Source§impl TryFrom<ConnectedBotStarRef> for ConnectedBotStarRef
impl TryFrom<ConnectedBotStarRef> for ConnectedBotStarRef
Source§type Error = ConnectedBotStarRef
type Error = ConnectedBotStarRef
The type returned in the event of a conversion error.
impl StructuralPartialEq for ConnectedBotStarRef
Auto Trait Implementations§
impl Freeze for ConnectedBotStarRef
impl RefUnwindSafe for ConnectedBotStarRef
impl Send for ConnectedBotStarRef
impl Sync for ConnectedBotStarRef
impl Unpin for ConnectedBotStarRef
impl UnsafeUnpin for ConnectedBotStarRef
impl UnwindSafe for ConnectedBotStarRef
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