pub struct TextValuePayload {
pub text: String,
pub language: Option<String>,
}Fields§
§text: String§language: Option<String>BCP-47 language tag, when known.
Trait Implementations§
Source§impl Clone for TextValuePayload
impl Clone for TextValuePayload
Source§fn clone(&self) -> TextValuePayload
fn clone(&self) -> TextValuePayload
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 moreAuto Trait Implementations§
impl Freeze for TextValuePayload
impl RefUnwindSafe for TextValuePayload
impl Send for TextValuePayload
impl Sync for TextValuePayload
impl Unpin for TextValuePayload
impl UnsafeUnpin for TextValuePayload
impl UnwindSafe for TextValuePayload
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