pub struct ListAllMsgs {
pub messages: Vec<MsgResp>,
pub page: usize,
pub page_size: usize,
pub uri: String,
pub next_page_uri: Option<String>,
pub previous_page_uri: Option<String>,
}
Fields§
§messages: Vec<MsgResp>
§page: usize
§page_size: usize
§uri: String
§next_page_uri: Option<String>
§previous_page_uri: Option<String>
Trait Implementations§
Source§impl Debug for ListAllMsgs
impl Debug for ListAllMsgs
Source§impl<'de> Deserialize<'de> for ListAllMsgs
impl<'de> Deserialize<'de> for ListAllMsgs
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 ListAllMsgs
impl RefUnwindSafe for ListAllMsgs
impl Send for ListAllMsgs
impl Sync for ListAllMsgs
impl Unpin for ListAllMsgs
impl UnwindSafe for ListAllMsgs
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