#[non_exhaustive]pub struct GetCommentRequest {
pub name: String,
/* private fields */
}Expand description
The request message for the GetComment endpoint.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringRequired. The name of the comment to retrieve.
Implementations§
Trait Implementations§
Source§impl Clone for GetCommentRequest
impl Clone for GetCommentRequest
Source§fn clone(&self) -> GetCommentRequest
fn clone(&self) -> GetCommentRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetCommentRequest
impl Debug for GetCommentRequest
Source§impl Default for GetCommentRequest
impl Default for GetCommentRequest
Source§fn default() -> GetCommentRequest
fn default() -> GetCommentRequest
Returns the “default value” for a type. Read more
Source§impl Message for GetCommentRequest
impl Message for GetCommentRequest
Source§impl PartialEq for GetCommentRequest
impl PartialEq for GetCommentRequest
Source§fn eq(&self, other: &GetCommentRequest) -> bool
fn eq(&self, other: &GetCommentRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetCommentRequest
Auto Trait Implementations§
impl Freeze for GetCommentRequest
impl RefUnwindSafe for GetCommentRequest
impl Send for GetCommentRequest
impl Sync for GetCommentRequest
impl Unpin for GetCommentRequest
impl UnsafeUnpin for GetCommentRequest
impl UnwindSafe for GetCommentRequest
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