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 GET
ing a Circle is successful.
Fields§
§id: CircleId
The ID of the Circle.
display_name: String
The Circle’s name.
created_by: UserId
Creator of Circle
description: String
Description of the Circle. Defaults to empty string.
member_count: u32
Number of members on Circle
image: ImageId
Image of Circle
created_at: DateTime<Utc>
When Circle was created
last_edited: Option<DateTime<Utc>>
When Circle was last edited
joined: bool
Current 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