pub struct SetCommentTextResult {
pub approved: bool,
pub comment_html: String,
}Fields§
§approved: bool§comment_html: StringImplementations§
Source§impl SetCommentTextResult
impl SetCommentTextResult
pub fn new(approved: bool, comment_html: String) -> SetCommentTextResult
Trait Implementations§
Source§impl Clone for SetCommentTextResult
impl Clone for SetCommentTextResult
Source§fn clone(&self) -> SetCommentTextResult
fn clone(&self) -> SetCommentTextResult
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 SetCommentTextResult
impl Debug for SetCommentTextResult
Source§impl Default for SetCommentTextResult
impl Default for SetCommentTextResult
Source§fn default() -> SetCommentTextResult
fn default() -> SetCommentTextResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SetCommentTextResult
impl<'de> Deserialize<'de> for SetCommentTextResult
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 SetCommentTextResult
impl PartialEq for SetCommentTextResult
Source§impl Serialize for SetCommentTextResult
impl Serialize for SetCommentTextResult
impl StructuralPartialEq for SetCommentTextResult
Auto Trait Implementations§
impl Freeze for SetCommentTextResult
impl RefUnwindSafe for SetCommentTextResult
impl Send for SetCommentTextResult
impl Sync for SetCommentTextResult
impl Unpin for SetCommentTextResult
impl UnwindSafe for SetCommentTextResult
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