Enum tg_bot_api::ObjectData
source · 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
sourceimpl Clone for ObjectData
impl Clone for ObjectData
sourcefn clone(&self) -> ObjectData
fn clone(&self) -> ObjectData
Returns a copy of the value. Read more
1.0.0 · sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more