pub struct Circle {
pub id: CircleId,
pub display_name: String,
pub created_by: UserId,
pub description: String,
pub member_count: u32,
pub image: ImageId,
pub created_at: DateTime<Utc>,
pub last_edited: Option<DateTime<Utc>>,
pub joined: bool,
}Expand description
The response returned when a request for GETing a Circle is successful.
Fields§
§id: CircleIdThe ID of the Circle.
display_name: StringThe Circle’s name.
created_by: UserIdCreator of Circle
description: StringDescription of the Circle. Defaults to empty string.
member_count: u32Number of members on Circle
image: ImageIdImage of Circle
created_at: DateTime<Utc>When Circle was created
last_edited: Option<DateTime<Utc>>When Circle was last edited
joined: boolCurrent user is member of circle
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Circle
impl<'de> Deserialize<'de> for Circle
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 Freeze for Circle
impl RefUnwindSafe for Circle
impl Send for Circle
impl Sync for Circle
impl Unpin for Circle
impl UnwindSafe for Circle
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