Struct lemmy_api_common::community::ListCommunities
source · pub struct ListCommunities {
pub type_: Option<ListingType>,
pub sort: Option<SortType>,
pub show_nsfw: Option<bool>,
pub page: Option<i64>,
pub limit: Option<i64>,
}Expand description
Fetches a list of communities.
Fields§
§type_: Option<ListingType>§sort: Option<SortType>§show_nsfw: Option<bool>§page: Option<i64>§limit: Option<i64>Trait Implementations§
source§impl Clone for ListCommunities
impl Clone for ListCommunities
source§fn clone(&self) -> ListCommunities
fn clone(&self) -> ListCommunities
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 ListCommunities
impl Debug for ListCommunities
source§impl Default for ListCommunities
impl Default for ListCommunities
source§fn default() -> ListCommunities
fn default() -> ListCommunities
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ListCommunities
impl<'de> Deserialize<'de> for ListCommunities
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
Auto Trait Implementations§
impl RefUnwindSafe for ListCommunities
impl Send for ListCommunities
impl Sync for ListCommunities
impl Unpin for ListCommunities
impl UnwindSafe for ListCommunities
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