pub struct TranslateResult {
pub result: Vec<TextWithEntities>,
}Expand description
Generated from:
messages.translateResult#33db32f8 result:Vector<TextWithEntities> = messages.TranslatedTextFields§
§result: Vec<TextWithEntities>Trait Implementations§
Source§impl Clone for TranslateResult
impl Clone for TranslateResult
Source§fn clone(&self) -> TranslateResult
fn clone(&self) -> TranslateResult
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 TranslateResult
impl Debug for TranslateResult
Source§impl Deserializable for TranslateResult
impl Deserializable for TranslateResult
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<TranslateResult> for TranslatedText
impl From<TranslateResult> for TranslatedText
Source§fn from(x: TranslateResult) -> Self
fn from(x: TranslateResult) -> Self
Converts to this type from the input type.
Source§impl Identifiable for TranslateResult
impl Identifiable for TranslateResult
Source§const CONSTRUCTOR_ID: u32 = 0x33db32f8
const CONSTRUCTOR_ID: u32 = 0x33db32f8
The constructor ID as specified in the TL schema.
Source§impl PartialEq for TranslateResult
impl PartialEq for TranslateResult
Source§impl Serializable for TranslateResult
impl Serializable for TranslateResult
Source§impl TryFrom<TranslatedText> for TranslateResult
impl TryFrom<TranslatedText> for TranslateResult
Source§type Error = TranslatedText
type Error = TranslatedText
The type returned in the event of a conversion error.
impl StructuralPartialEq for TranslateResult
Auto Trait Implementations§
impl Freeze for TranslateResult
impl RefUnwindSafe for TranslateResult
impl Send for TranslateResult
impl Sync for TranslateResult
impl Unpin for TranslateResult
impl UnsafeUnpin for TranslateResult
impl UnwindSafe for TranslateResult
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