Enum hexchat_api::FieldValue
source · pub enum FieldValue {
StringVal(String),
IntVal(i32),
PointerVal(u64),
ContextVal(Context),
TimeVal(time_t),
}Expand description
Field Data Types
- String - A string has been returned. The enum item holds its value.
- Int - Integer value.
- Pointer - This will be updated to be Context soon.
- Time - Holds a
time_tnumeric value.
Variants§
Trait Implementations§
source§impl Clone for FieldValue
impl Clone for FieldValue
source§fn clone(&self) -> FieldValue
fn clone(&self) -> FieldValue
Returns a copy 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 FieldValue
impl Debug for FieldValue
Auto Trait Implementations§
impl RefUnwindSafe for FieldValue
impl !Send for FieldValue
impl !Sync for FieldValue
impl Unpin for FieldValue
impl UnwindSafe for FieldValue
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