pub struct JsGetUpdatesResponse {
pub update: Box<Update>,
}
Fields§
§update: Box<Update>
Implementations§
Source§impl JsGetUpdatesResponse
impl JsGetUpdatesResponse
pub fn new(update: Update) -> JsGetUpdatesResponse
Trait Implementations§
Source§impl Clone for JsGetUpdatesResponse
impl Clone for JsGetUpdatesResponse
Source§fn clone(&self) -> JsGetUpdatesResponse
fn clone(&self) -> JsGetUpdatesResponse
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 JsGetUpdatesResponse
impl Debug for JsGetUpdatesResponse
Source§impl Default for JsGetUpdatesResponse
impl Default for JsGetUpdatesResponse
Source§fn default() -> JsGetUpdatesResponse
fn default() -> JsGetUpdatesResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JsGetUpdatesResponse
impl<'de> Deserialize<'de> for JsGetUpdatesResponse
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 JsGetUpdatesResponse
impl PartialEq for JsGetUpdatesResponse
Source§impl Serialize for JsGetUpdatesResponse
impl Serialize for JsGetUpdatesResponse
impl StructuralPartialEq for JsGetUpdatesResponse
Auto Trait Implementations§
impl Freeze for JsGetUpdatesResponse
impl RefUnwindSafe for JsGetUpdatesResponse
impl Send for JsGetUpdatesResponse
impl Sync for JsGetUpdatesResponse
impl Unpin for JsGetUpdatesResponse
impl UnwindSafe for JsGetUpdatesResponse
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