pub struct ReportResultAddComment {
pub optional: bool,
pub option: Vec<u8>,
}Expand description
Generated from:
reportResultAddComment#6f09ac31 flags:# optional:flags.0?true option:bytes = ReportResultFields§
§optional: bool§option: Vec<u8>Trait Implementations§
Source§impl Clone for ReportResultAddComment
impl Clone for ReportResultAddComment
Source§fn clone(&self) -> ReportResultAddComment
fn clone(&self) -> ReportResultAddComment
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 ReportResultAddComment
impl Debug for ReportResultAddComment
Source§impl Deserializable for ReportResultAddComment
impl Deserializable for ReportResultAddComment
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<ReportResultAddComment> for ReportResult
impl From<ReportResultAddComment> for ReportResult
Source§fn from(x: ReportResultAddComment) -> Self
fn from(x: ReportResultAddComment) -> Self
Converts to this type from the input type.
Source§impl Identifiable for ReportResultAddComment
impl Identifiable for ReportResultAddComment
Source§const CONSTRUCTOR_ID: u32 = 0x6f09ac31
const CONSTRUCTOR_ID: u32 = 0x6f09ac31
The constructor ID as specified in the TL schema.
Source§impl PartialEq for ReportResultAddComment
impl PartialEq for ReportResultAddComment
Source§impl TryFrom<ReportResult> for ReportResultAddComment
impl TryFrom<ReportResult> for ReportResultAddComment
Source§type Error = ReportResult
type Error = ReportResult
The type returned in the event of a conversion error.
impl StructuralPartialEq for ReportResultAddComment
Auto Trait Implementations§
impl Freeze for ReportResultAddComment
impl RefUnwindSafe for ReportResultAddComment
impl Send for ReportResultAddComment
impl Sync for ReportResultAddComment
impl Unpin for ReportResultAddComment
impl UnsafeUnpin for ReportResultAddComment
impl UnwindSafe for ReportResultAddComment
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