pub struct LogsPaginatedResponse {
pub results: Vec<Log>,
pub metadata: PaginationMeta,
}
Fields§
§results: Vec<Log>
§metadata: PaginationMeta
Implementations§
Source§impl LogsPaginatedResponse
impl LogsPaginatedResponse
pub fn new(results: Vec<Log>, metadata: PaginationMeta) -> LogsPaginatedResponse
Trait Implementations§
Source§impl Clone for LogsPaginatedResponse
impl Clone for LogsPaginatedResponse
Source§fn clone(&self) -> LogsPaginatedResponse
fn clone(&self) -> LogsPaginatedResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LogsPaginatedResponse
impl Debug for LogsPaginatedResponse
Source§impl Default for LogsPaginatedResponse
impl Default for LogsPaginatedResponse
Source§fn default() -> LogsPaginatedResponse
fn default() -> LogsPaginatedResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LogsPaginatedResponse
impl<'de> Deserialize<'de> for LogsPaginatedResponse
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 LogsPaginatedResponse
impl PartialEq for LogsPaginatedResponse
Source§impl Serialize for LogsPaginatedResponse
impl Serialize for LogsPaginatedResponse
impl StructuralPartialEq for LogsPaginatedResponse
Auto Trait Implementations§
impl Freeze for LogsPaginatedResponse
impl RefUnwindSafe for LogsPaginatedResponse
impl Send for LogsPaginatedResponse
impl Sync for LogsPaginatedResponse
impl Unpin for LogsPaginatedResponse
impl UnwindSafe for LogsPaginatedResponse
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