pub struct Community {
pub id: String,
pub icon: String,
pub admin: Vec<String>,
pub public_key: Option<String>,
pub signature: Option<String>,
}
Fields§
§id: String
§icon: String
§admin: Vec<String>
§public_key: Option<String>
§signature: Option<String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Community
impl<'de> Deserialize<'de> for Community
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
impl StructuralPartialEq for Community
Auto Trait Implementations§
impl Freeze for Community
impl RefUnwindSafe for Community
impl Send for Community
impl Sync for Community
impl Unpin for Community
impl UnwindSafe for Community
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