pub struct SummarizeText {
pub peer: InputPeer,
pub id: i32,
pub to_lang: Option<String>,
pub tone: Option<String>,
}Expand description
Generated from:
messages.summarizeText#abbbd346 flags:# peer:InputPeer id:int to_lang:flags.0?string tone:flags.2?string = TextWithEntitiesFields§
§peer: InputPeer§id: i32§to_lang: Option<String>§tone: Option<String>Trait Implementations§
Source§impl Clone for SummarizeText
impl Clone for SummarizeText
Source§fn clone(&self) -> SummarizeText
fn clone(&self) -> SummarizeText
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 SummarizeText
impl Debug for SummarizeText
Source§impl Deserializable for SummarizeText
impl Deserializable for SummarizeText
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 Identifiable for SummarizeText
impl Identifiable for SummarizeText
Source§const CONSTRUCTOR_ID: u32 = 0xabbbd346
const CONSTRUCTOR_ID: u32 = 0xabbbd346
The constructor ID as specified in the TL schema.
Source§impl PartialEq for SummarizeText
impl PartialEq for SummarizeText
Source§impl RemoteCall for SummarizeText
impl RemoteCall for SummarizeText
Source§type Return = TextWithEntities
type Return = TextWithEntities
The deserialized response type.
Source§impl Serializable for SummarizeText
impl Serializable for SummarizeText
impl StructuralPartialEq for SummarizeText
Auto Trait Implementations§
impl Freeze for SummarizeText
impl RefUnwindSafe for SummarizeText
impl Send for SummarizeText
impl Sync for SummarizeText
impl Unpin for SummarizeText
impl UnsafeUnpin for SummarizeText
impl UnwindSafe for SummarizeText
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