pub struct MessageListV1 {
pub schema: String,
pub messages: Vec<MessageDeliveryV1>,
pub next: Option<String>,
}Expand description
GET /v1/messages.
Fields§
§schema: String§messages: Vec<MessageDeliveryV1>§next: Option<String>Pass as after_gid for the next page; absent at the end.
Implementations§
Source§impl MessageListV1
impl MessageListV1
pub fn validate(&self) -> Result<(), ValidationError>
Trait Implementations§
Source§impl Clone for MessageListV1
impl Clone for MessageListV1
Source§impl Debug for MessageListV1
impl Debug for MessageListV1
Source§impl<'de> Deserialize<'de> for MessageListV1
impl<'de> Deserialize<'de> for MessageListV1
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
impl Eq for MessageListV1
Source§impl PartialEq for MessageListV1
impl PartialEq for MessageListV1
Source§impl Serialize for MessageListV1
impl Serialize for MessageListV1
impl StructuralPartialEq for MessageListV1
Auto Trait Implementations§
impl Freeze for MessageListV1
impl RefUnwindSafe for MessageListV1
impl Send for MessageListV1
impl Sync for MessageListV1
impl Unpin for MessageListV1
impl UnsafeUnpin for MessageListV1
impl UnwindSafe for MessageListV1
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