pub struct Cops {
pub mode: u8,
pub format: Option<u8>,
pub oper: Option<String>,
pub act: Option<AccessTech>,
}Expand description
+COPS: <mode>[,<format>,<oper>[,<AcT>]] read-command response.
Fields§
§mode: u80 automatic, 1 manual, 2 deregister, 3 set format only, 4 manual/automatic.
format: Option<u8>0 long alphanumeric, 1 short alphanumeric, 2 numeric.
oper: Option<String>§act: Option<AccessTech>Implementations§
Trait Implementations§
impl Eq for Cops
impl StructuralPartialEq for Cops
Auto Trait Implementations§
impl Forget for Cops
impl Freeze for Cops
impl RefUnwindSafe for Cops
impl Send for Cops
impl Sync for Cops
impl Unpin for Cops
impl UnsafeUnpin for Cops
impl UnwindSafe for Cops
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