pub struct SaveCommentResponseOptimized {
pub status: ApiStatus,
pub comment: Box<PublicComment>,
pub user: Option<Box<UserSessionInfo>>,
pub module_data: Option<HashMap<String, Value>>,
}Fields§
§status: ApiStatus§comment: Box<PublicComment>§user: Option<Box<UserSessionInfo>>§module_data: Option<HashMap<String, Value>>Construct a type with a set of properties K of type T
Implementations§
Source§impl SaveCommentResponseOptimized
impl SaveCommentResponseOptimized
pub fn new( status: ApiStatus, comment: PublicComment, user: Option<UserSessionInfo>, ) -> SaveCommentResponseOptimized
Trait Implementations§
Source§impl Clone for SaveCommentResponseOptimized
impl Clone for SaveCommentResponseOptimized
Source§impl Debug for SaveCommentResponseOptimized
impl Debug for SaveCommentResponseOptimized
Source§impl<'de> Deserialize<'de> for SaveCommentResponseOptimized
impl<'de> Deserialize<'de> for SaveCommentResponseOptimized
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 SaveCommentResponseOptimized
Auto Trait Implementations§
impl Forget for SaveCommentResponseOptimized
impl Freeze for SaveCommentResponseOptimized
impl Move for SaveCommentResponseOptimized
impl RefUnwindSafe for SaveCommentResponseOptimized
impl Send for SaveCommentResponseOptimized
impl Sync for SaveCommentResponseOptimized
impl Unpin for SaveCommentResponseOptimized
impl UnsafeUnpin for SaveCommentResponseOptimized
impl UnwindSafe for SaveCommentResponseOptimized
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