pub struct ContextPacket {
pub text: String,
pub selected: Vec<MemoryRef>,
pub used_units: usize,
pub unit: String,
pub omitted: usize,
}Fields§
§text: String§selected: Vec<MemoryRef>§used_units: usize§unit: String§omitted: usizeTrait Implementations§
Source§impl Clone for ContextPacket
impl Clone for ContextPacket
Source§impl Debug for ContextPacket
impl Debug for ContextPacket
Source§impl<'de> Deserialize<'de> for ContextPacket
impl<'de> Deserialize<'de> for ContextPacket
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for ContextPacket
impl Freeze for ContextPacket
impl Move for ContextPacket
impl RefUnwindSafe for ContextPacket
impl Send for ContextPacket
impl Sync for ContextPacket
impl Unpin for ContextPacket
impl UnsafeUnpin for ContextPacket
impl UnwindSafe for ContextPacket
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