Struct azure_devops_rust_api::wiki::models::CommentCreateParameters
source · pub struct CommentCreateParameters {
pub parent_id: Option<i32>,
pub text: Option<String>,
}Expand description
Represents a request to create a work item comment.
Fields§
§parent_id: Option<i32>Optional CommentId of the parent in order to add a reply for an existing comment
text: Option<String>Implementations§
Trait Implementations§
source§impl Clone for CommentCreateParameters
impl Clone for CommentCreateParameters
source§fn clone(&self) -> CommentCreateParameters
fn clone(&self) -> CommentCreateParameters
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 CommentCreateParameters
impl Debug for CommentCreateParameters
source§impl Default for CommentCreateParameters
impl Default for CommentCreateParameters
source§fn default() -> CommentCreateParameters
fn default() -> CommentCreateParameters
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CommentCreateParameters
impl<'de> Deserialize<'de> for CommentCreateParameters
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 CommentCreateParameters
impl PartialEq for CommentCreateParameters
source§fn eq(&self, other: &CommentCreateParameters) -> bool
fn eq(&self, other: &CommentCreateParameters) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for CommentCreateParameters
impl Serialize for CommentCreateParameters
impl StructuralPartialEq for CommentCreateParameters
Auto Trait Implementations§
impl RefUnwindSafe for CommentCreateParameters
impl Send for CommentCreateParameters
impl Sync for CommentCreateParameters
impl Unpin for CommentCreateParameters
impl UnwindSafe for CommentCreateParameters
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