Skip to main content

Group

Struct Group 

Source
pub struct Group {
Show 49 fields pub id: Integer, pub name: String, pub screen_name: String, pub is_closed: Integer, pub deactivated: String, pub is_admin: Option<Integer>, pub admin_level: Option<Integer>, pub is_member: Option<Integer>, pub invited_by: Option<Integer>, pub type_: String, pub photo_50: String, pub photo_100: String, pub photo_200: String, pub activity: Option<String>, pub age_limits: Option<Integer>, pub ban_info: Option<BlacklistInfo>, pub can_create_topic: Option<Integer>, pub can_message: Option<Integer>, pub can_post: Option<Integer>, pub can_see_all_posts: Option<Integer>, pub can_upload_doc: Option<Integer>, pub can_upload_video: Option<Integer>, pub city: Option<City>, pub contacts: Option<Vec<Contact>>, pub counters: Option<Counters>, pub country: Option<Country>, pub cover: Option<Cover>, pub crop_photo: Option<Cropped>, pub description: Option<String>, pub fixed_post: Option<Integer>, pub has_photo: Option<Integer>, pub is_favorite: Option<Integer>, pub is_hidden_from_feed: Option<Integer>, pub is_messages_blocked: Option<Integer>, pub links: Option<Vec<Link>>, pub main_album_id: Option<Integer>, pub main_section: Option<Integer>, pub market: Option<Market>, pub member_status: Option<Integer>, pub place: Option<Place>, pub public_date_label: Option<String>, pub site: Option<String>, pub start_date: Option<Integer>, pub finish_date: Option<Integer>, pub status: Option<String>, pub trending: Option<Integer>, pub verified: Option<Integer>, pub wall: Option<Integer>, pub wiki_page: Option<String>,
}
Expand description

Fields§

§id: Integer§name: String§screen_name: String§is_closed: Integer§deactivated: String§is_admin: Option<Integer>§admin_level: Option<Integer>§is_member: Option<Integer>§invited_by: Option<Integer>§type_: String§photo_50: String§photo_100: String§photo_200: String§activity: Option<String>§age_limits: Option<Integer>§ban_info: Option<BlacklistInfo>§can_create_topic: Option<Integer>§can_message: Option<Integer>§can_post: Option<Integer>§can_see_all_posts: Option<Integer>§can_upload_doc: Option<Integer>§can_upload_video: Option<Integer>§city: Option<City>§contacts: Option<Vec<Contact>>§counters: Option<Counters>§country: Option<Country>§cover: Option<Cover>§crop_photo: Option<Cropped>§description: Option<String>§fixed_post: Option<Integer>§has_photo: Option<Integer>§is_favorite: Option<Integer>§is_hidden_from_feed: Option<Integer>§is_messages_blocked: Option<Integer>§links: Option<Vec<Link>>§main_album_id: Option<Integer>§main_section: Option<Integer>§market: Option<Market>§member_status: Option<Integer>§place: Option<Place>§public_date_label: Option<String>§site: Option<String>§start_date: Option<Integer>§finish_date: Option<Integer>§status: Option<String>§trending: Option<Integer>§verified: Option<Integer>§wall: Option<Integer>§wiki_page: Option<String>

Trait Implementations§

Source§

impl Clone for Group

Source§

fn clone(&self) -> Group

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Group

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Group

Source§

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 Freeze for Group

§

impl RefUnwindSafe for Group

§

impl Send for Group

§

impl Sync for Group

§

impl Unpin for Group

§

impl UnsafeUnpin for Group

§

impl UnwindSafe for Group

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,