pub struct SystemVariable<'a> { /* private fields */ }Expand description
This tracker type indicates that one or more tracked session system variables have been assigned a value.
Implementations§
Source§impl<'a> SystemVariable<'a>
impl<'a> SystemVariable<'a>
pub fn new( name: impl Into<Cow<'a, [u8]>>, value: impl Into<Cow<'a, [u8]>>, ) -> Self
Sourcepub fn name_bytes(&self) -> &[u8] ⓘ
pub fn name_bytes(&self) -> &[u8] ⓘ
Returns a raw name.
Sourcepub fn value_bytes(&self) -> &[u8] ⓘ
pub fn value_bytes(&self) -> &[u8] ⓘ
Returns a raw value.
Sourcepub fn into_owned(self) -> SystemVariable<'static>
pub fn into_owned(self) -> SystemVariable<'static>
Returns a 'static version of self.
Trait Implementations§
Source§impl<'a> Clone for SystemVariable<'a>
impl<'a> Clone for SystemVariable<'a>
Source§fn clone(&self) -> SystemVariable<'a>
fn clone(&self) -> SystemVariable<'a>
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<'a> Debug for SystemVariable<'a>
impl<'a> Debug for SystemVariable<'a>
Source§impl<'a> Hash for SystemVariable<'a>
impl<'a> Hash for SystemVariable<'a>
Source§impl<'de> MyDeserialize<'de> for SystemVariable<'de>
impl<'de> MyDeserialize<'de> for SystemVariable<'de>
Source§impl MySerialize for SystemVariable<'_>
impl MySerialize for SystemVariable<'_>
Source§impl<'a> PartialEq for SystemVariable<'a>
impl<'a> PartialEq for SystemVariable<'a>
impl<'a> Eq for SystemVariable<'a>
impl<'a> StructuralPartialEq for SystemVariable<'a>
Auto Trait Implementations§
impl<'a> Freeze for SystemVariable<'a>
impl<'a> RefUnwindSafe for SystemVariable<'a>
impl<'a> Send for SystemVariable<'a>
impl<'a> Sync for SystemVariable<'a>
impl<'a> Unpin for SystemVariable<'a>
impl<'a> UnwindSafe for SystemVariable<'a>
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