pub struct AddPrCommentBody {
pub body: String,
}Expand description
AddPrCommentBody
JSON schema
{
"type": "object",
"required": [
"body"
],
"properties": {
"body": {
"type": "string"
}
}
}Fields§
§body: StringImplementations§
Source§impl AddPrCommentBody
impl AddPrCommentBody
pub fn builder() -> AddPrCommentBody
Trait Implementations§
Source§impl Clone for AddPrCommentBody
impl Clone for AddPrCommentBody
Source§fn clone(&self) -> AddPrCommentBody
fn clone(&self) -> AddPrCommentBody
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 AddPrCommentBody
impl Debug for AddPrCommentBody
Source§impl<'de> Deserialize<'de> for AddPrCommentBody
impl<'de> Deserialize<'de> for AddPrCommentBody
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 From<&AddPrCommentBody> for AddPrCommentBody
impl From<&AddPrCommentBody> for AddPrCommentBody
Source§fn from(value: &AddPrCommentBody) -> Self
fn from(value: &AddPrCommentBody) -> Self
Converts to this type from the input type.
Source§impl From<AddPrCommentBody> for AddPrCommentBody
impl From<AddPrCommentBody> for AddPrCommentBody
Source§fn from(value: AddPrCommentBody) -> Self
fn from(value: AddPrCommentBody) -> Self
Converts to this type from the input type.
Source§impl Serialize for AddPrCommentBody
impl Serialize for AddPrCommentBody
Source§impl TryFrom<AddPrCommentBody> for AddPrCommentBody
impl TryFrom<AddPrCommentBody> for AddPrCommentBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: AddPrCommentBody) -> Result<Self, ConversionError>
fn try_from(value: AddPrCommentBody) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AddPrCommentBody
impl RefUnwindSafe for AddPrCommentBody
impl Send for AddPrCommentBody
impl Sync for AddPrCommentBody
impl Unpin for AddPrCommentBody
impl UnsafeUnpin for AddPrCommentBody
impl UnwindSafe for AddPrCommentBody
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