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