pub enum FieldOrService {
Field(bool),
Service(DigitalServiceEntry),
}
Expand description
A value that is either a CEA-608 field or a CEA-708 service.
Variants§
Field(bool)
A CEA-608 field. Field 1 == true, Field 2 == false.
Service(DigitalServiceEntry)
A CEA-708 service.
Trait Implementations§
Source§impl Clone for FieldOrService
impl Clone for FieldOrService
Source§fn clone(&self) -> FieldOrService
fn clone(&self) -> FieldOrService
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 Debug for FieldOrService
impl Debug for FieldOrService
Source§impl PartialEq for FieldOrService
impl PartialEq for FieldOrService
impl Copy for FieldOrService
impl Eq for FieldOrService
impl StructuralPartialEq for FieldOrService
Auto Trait Implementations§
impl Freeze for FieldOrService
impl RefUnwindSafe for FieldOrService
impl Send for FieldOrService
impl Sync for FieldOrService
impl Unpin for FieldOrService
impl UnwindSafe for FieldOrService
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