pub struct CommentCreator {
pub id: Option<String>,
pub type: Option<String>,
pub role: Option<String>,
pub name: Option<String>,
}Expand description
评论创建者。
Fields§
§id: Option<String>成员 ID。
type: Option<String>成员类型。
role: Option<String>成员角色。
name: Option<String>成员名称。
Trait Implementations§
Source§impl Clone for CommentCreator
impl Clone for CommentCreator
Source§fn clone(&self) -> CommentCreator
fn clone(&self) -> CommentCreator
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CommentCreator
impl Debug for CommentCreator
Source§impl<'de> Deserialize<'de> for CommentCreator
impl<'de> Deserialize<'de> for CommentCreator
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
Source§impl PartialEq for CommentCreator
impl PartialEq for CommentCreator
Source§impl Serialize for CommentCreator
impl Serialize for CommentCreator
impl StructuralPartialEq for CommentCreator
Auto Trait Implementations§
impl Freeze for CommentCreator
impl RefUnwindSafe for CommentCreator
impl Send for CommentCreator
impl Sync for CommentCreator
impl Unpin for CommentCreator
impl UnsafeUnpin for CommentCreator
impl UnwindSafe for CommentCreator
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