pub struct PinMessageResponse {
pub result: String,
}Expand description
Ответ eXpress на запрос закрепления сообщения в чате
Fields§
§result: StringРезультат запроса
TODO: Я не знаю зачем тут строка, всегда должно быть “message_pinned” документация не описывает других вариантов, откройте issue если станет понятно что оно имеет несколько значений чтобы заменить на enum
Trait Implementations§
Source§impl Clone for PinMessageResponse
impl Clone for PinMessageResponse
Source§fn clone(&self) -> PinMessageResponse
fn clone(&self) -> PinMessageResponse
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 PinMessageResponse
impl Debug for PinMessageResponse
Source§impl<'de> Deserialize<'de> for PinMessageResponse
impl<'de> Deserialize<'de> for PinMessageResponse
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
Auto Trait Implementations§
impl Freeze for PinMessageResponse
impl RefUnwindSafe for PinMessageResponse
impl Send for PinMessageResponse
impl Sync for PinMessageResponse
impl Unpin for PinMessageResponse
impl UnwindSafe for PinMessageResponse
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