Struct antimatter_api::models::capsule_list::CapsuleList
source · pub struct CapsuleList {
pub results: Vec<CapsuleInfo>,
pub has_more: bool,
}Expand description
CapsuleList : List of capsules
Fields§
§results: Vec<CapsuleInfo>§has_more: boolif true, there are more results than presented in this response.
Implementations§
source§impl CapsuleList
impl CapsuleList
sourcepub fn new(results: Vec<CapsuleInfo>, has_more: bool) -> CapsuleList
pub fn new(results: Vec<CapsuleInfo>, has_more: bool) -> CapsuleList
List of capsules
Trait Implementations§
source§impl Clone for CapsuleList
impl Clone for CapsuleList
source§fn clone(&self) -> CapsuleList
fn clone(&self) -> CapsuleList
Returns a copy 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 CapsuleList
impl Debug for CapsuleList
source§impl Default for CapsuleList
impl Default for CapsuleList
source§fn default() -> CapsuleList
fn default() -> CapsuleList
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CapsuleList
impl<'de> Deserialize<'de> for CapsuleList
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 CapsuleList
impl PartialEq for CapsuleList
source§fn eq(&self, other: &CapsuleList) -> bool
fn eq(&self, other: &CapsuleList) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for CapsuleList
impl Serialize for CapsuleList
impl StructuralPartialEq for CapsuleList
Auto Trait Implementations§
impl Freeze for CapsuleList
impl RefUnwindSafe for CapsuleList
impl Send for CapsuleList
impl Sync for CapsuleList
impl Unpin for CapsuleList
impl UnwindSafe for CapsuleList
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)