pub struct SayTextData {
pub entity_idx: Option<u64>,
pub text: Option<String>,
pub is_chat: Option<u64>,
pub is_text_all_chat: Option<u64>,
}
Fields§
§entity_idx: Option<u64>
§text: Option<String>
§is_chat: Option<u64>
§is_text_all_chat: Option<u64>
Implementations§
Source§impl SayTextData
impl SayTextData
pub fn to_vec(&self) -> Vec<(&'static str, ProtobufValue)>
Trait Implementations§
Source§impl Clone for SayTextData
impl Clone for SayTextData
Source§fn clone(&self) -> SayTextData
fn clone(&self) -> SayTextData
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for SayTextData
impl RefUnwindSafe for SayTextData
impl Send for SayTextData
impl Sync for SayTextData
impl Unpin for SayTextData
impl UnwindSafe for SayTextData
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