Struct thunderstore_api::models::v2::available_community::AvailableCommunity
source · [−]pub struct AvailableCommunity {
pub community: Community,
pub categories: Vec<Category>,
pub url: String,
}Fields
community: Communitycategories: Vec<Category>url: StringImplementations
Trait Implementations
sourceimpl Clone for AvailableCommunity
impl Clone for AvailableCommunity
sourcefn clone(&self) -> AvailableCommunity
fn clone(&self) -> AvailableCommunity
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 AvailableCommunity
impl Debug for AvailableCommunity
sourceimpl Default for AvailableCommunity
impl Default for AvailableCommunity
sourcefn default() -> AvailableCommunity
fn default() -> AvailableCommunity
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for AvailableCommunity
impl<'de> Deserialize<'de> for AvailableCommunity
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<AvailableCommunity> for AvailableCommunity
impl PartialEq<AvailableCommunity> for AvailableCommunity
sourcefn eq(&self, other: &AvailableCommunity) -> bool
fn eq(&self, other: &AvailableCommunity) -> bool
sourceimpl Serialize for AvailableCommunity
impl Serialize for AvailableCommunity
impl Eq for AvailableCommunity
impl StructuralEq for AvailableCommunity
impl StructuralPartialEq for AvailableCommunity
Auto Trait Implementations
impl RefUnwindSafe for AvailableCommunity
impl Send for AvailableCommunity
impl Sync for AvailableCommunity
impl Unpin for AvailableCommunity
impl UnwindSafe for AvailableCommunity
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.