Struct thunderstore_api::models::v2::community::ListResponse
source · [−]pub struct ListResponse {
pub next: Option<String>,
pub previous: Option<String>,
pub results: Vec<Community>,
}Fields
next: Option<String>previous: Option<String>results: Vec<Community>Implementations
sourceimpl ListResponse
impl ListResponse
pub fn new(results: Vec<Community>) -> ListResponse
Trait Implementations
sourceimpl Clone for ListResponse
impl Clone for ListResponse
sourcefn clone(&self) -> ListResponse
fn clone(&self) -> ListResponse
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ListResponse
impl Debug for ListResponse
sourceimpl Default for ListResponse
impl Default for ListResponse
sourcefn default() -> ListResponse
fn default() -> ListResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ListResponse
impl<'de> Deserialize<'de> for ListResponse
sourcefn 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
sourceimpl PartialEq<ListResponse> for ListResponse
impl PartialEq<ListResponse> for ListResponse
sourcefn eq(&self, other: &ListResponse) -> bool
fn eq(&self, other: &ListResponse) -> bool
sourceimpl Serialize for ListResponse
impl Serialize for ListResponse
impl Eq for ListResponse
impl StructuralEq for ListResponse
impl StructuralPartialEq for ListResponse
Auto Trait Implementations
impl RefUnwindSafe for ListResponse
impl Send for ListResponse
impl Sync for ListResponse
impl Unpin for ListResponse
impl UnwindSafe for ListResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.