pub struct GetCommunity {
pub id: Option<CommunityId>,
pub name: Option<String>,
}Expand description
Get a community. Must provide either an id, or a name.
Fields§
§id: Option<CommunityId>§name: Option<String>Example: star_trek , or star_trek@xyz.tld
Trait Implementations§
Source§impl Clone for GetCommunity
impl Clone for GetCommunity
Source§fn clone(&self) -> GetCommunity
fn clone(&self) -> GetCommunity
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 GetCommunity
impl Debug for GetCommunity
Source§impl Default for GetCommunity
impl Default for GetCommunity
Source§fn default() -> GetCommunity
fn default() -> GetCommunity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetCommunity
impl<'de> Deserialize<'de> for GetCommunity
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 Hash for GetCommunity
impl Hash for GetCommunity
Source§impl PartialEq for GetCommunity
impl PartialEq for GetCommunity
Source§impl Serialize for GetCommunity
impl Serialize for GetCommunity
impl Eq for GetCommunity
impl StructuralPartialEq for GetCommunity
Auto Trait Implementations§
impl Freeze for GetCommunity
impl RefUnwindSafe for GetCommunity
impl Send for GetCommunity
impl Sync for GetCommunity
impl Unpin for GetCommunity
impl UnwindSafe for GetCommunity
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)