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