Enum tg_bot_api::ObjectData
source · pub enum ObjectData {
Fields(Vec<Field>),
Elements(Vec<Type>),
Unknown,
}
Variants§
Fields(Vec<Field>)
Elements(Vec<Type>)
Unknown
Object without fields or elements So we don’t know what it will be in the future
Trait Implementations§
source§impl Clone for ObjectData
impl Clone for ObjectData
source§fn clone(&self) -> ObjectData
fn clone(&self) -> ObjectData
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for ObjectData
impl Send for ObjectData
impl Sync for ObjectData
impl Unpin for ObjectData
impl UnwindSafe for ObjectData
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