pub struct StarsRevenueStatus {
pub withdrawal_enabled: bool,
pub current_balance: StarsAmount,
pub available_balance: StarsAmount,
pub overall_revenue: StarsAmount,
pub next_withdrawal_at: Option<i32>,
}Expand description
Generated from:
starsRevenueStatus#febe5491 flags:# withdrawal_enabled:flags.0?true current_balance:StarsAmount available_balance:StarsAmount overall_revenue:StarsAmount next_withdrawal_at:flags.1?int = StarsRevenueStatusFields§
§withdrawal_enabled: bool§current_balance: StarsAmount§available_balance: StarsAmount§overall_revenue: StarsAmount§next_withdrawal_at: Option<i32>Trait Implementations§
Source§impl Clone for StarsRevenueStatus
impl Clone for StarsRevenueStatus
Source§fn clone(&self) -> StarsRevenueStatus
fn clone(&self) -> StarsRevenueStatus
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 StarsRevenueStatus
impl Debug for StarsRevenueStatus
Source§impl Deserializable for StarsRevenueStatus
impl Deserializable for StarsRevenueStatus
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<StarsRevenueStatus> for StarsRevenueStatus
impl From<StarsRevenueStatus> for StarsRevenueStatus
Source§fn from(x: StarsRevenueStatus) -> Self
fn from(x: StarsRevenueStatus) -> Self
Converts to this type from the input type.
Source§impl Identifiable for StarsRevenueStatus
impl Identifiable for StarsRevenueStatus
Source§const CONSTRUCTOR_ID: u32 = 0xfebe5491
const CONSTRUCTOR_ID: u32 = 0xfebe5491
The constructor ID as specified in the TL schema.
Source§impl PartialEq for StarsRevenueStatus
impl PartialEq for StarsRevenueStatus
Source§impl Serializable for StarsRevenueStatus
impl Serializable for StarsRevenueStatus
Source§impl TryFrom<StarsRevenueStatus> for StarsRevenueStatus
impl TryFrom<StarsRevenueStatus> for StarsRevenueStatus
Source§type Error = StarsRevenueStatus
type Error = StarsRevenueStatus
The type returned in the event of a conversion error.
impl StructuralPartialEq for StarsRevenueStatus
Auto Trait Implementations§
impl Freeze for StarsRevenueStatus
impl RefUnwindSafe for StarsRevenueStatus
impl Send for StarsRevenueStatus
impl Sync for StarsRevenueStatus
impl Unpin for StarsRevenueStatus
impl UnsafeUnpin for StarsRevenueStatus
impl UnwindSafe for StarsRevenueStatus
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