pub struct SaveCommentResponse {
pub status: ApiStatus,
pub comment: Box<FComment>,
pub user: Option<Box<UserSessionInfo>>,
pub module_data: Option<HashMap<String, Value>>,
}Fields§
§status: ApiStatus§comment: Box<FComment>§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 SaveCommentResponse
impl SaveCommentResponse
pub fn new( status: ApiStatus, comment: FComment, user: Option<UserSessionInfo>, ) -> SaveCommentResponse
Trait Implementations§
Source§impl Clone for SaveCommentResponse
impl Clone for SaveCommentResponse
Source§fn clone(&self) -> SaveCommentResponse
fn clone(&self) -> SaveCommentResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 SaveCommentResponse
impl Debug for SaveCommentResponse
Source§impl Default for SaveCommentResponse
impl Default for SaveCommentResponse
Source§fn default() -> SaveCommentResponse
fn default() -> SaveCommentResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SaveCommentResponse
impl<'de> Deserialize<'de> for SaveCommentResponse
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 SaveCommentResponse
impl PartialEq for SaveCommentResponse
Source§impl Serialize for SaveCommentResponse
impl Serialize for SaveCommentResponse
impl StructuralPartialEq for SaveCommentResponse
Auto Trait Implementations§
impl Freeze for SaveCommentResponse
impl RefUnwindSafe for SaveCommentResponse
impl Send for SaveCommentResponse
impl Sync for SaveCommentResponse
impl Unpin for SaveCommentResponse
impl UnwindSafe for SaveCommentResponse
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