pub struct CommentUpdateParameters {
pub state: Option<State>,
pub text: Option<String>,
}Expand description
Represents a request to update a comment.
Fields§
§state: Option<State>Set the current state of the comment
text: Option<String>The updated text of the comment
Implementations§
Trait Implementations§
Source§impl Clone for CommentUpdateParameters
impl Clone for CommentUpdateParameters
Source§fn clone(&self) -> CommentUpdateParameters
fn clone(&self) -> CommentUpdateParameters
Returns a copy 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 CommentUpdateParameters
impl Debug for CommentUpdateParameters
Source§impl Default for CommentUpdateParameters
impl Default for CommentUpdateParameters
Source§fn default() -> CommentUpdateParameters
fn default() -> CommentUpdateParameters
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommentUpdateParameters
impl<'de> Deserialize<'de> for CommentUpdateParameters
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 CommentUpdateParameters
impl PartialEq for CommentUpdateParameters
Source§impl Serialize for CommentUpdateParameters
impl Serialize for CommentUpdateParameters
impl StructuralPartialEq for CommentUpdateParameters
Auto Trait Implementations§
impl Freeze for CommentUpdateParameters
impl RefUnwindSafe for CommentUpdateParameters
impl Send for CommentUpdateParameters
impl Sync for CommentUpdateParameters
impl Unpin for CommentUpdateParameters
impl UnwindSafe for CommentUpdateParameters
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