pub struct AtPhase {
pub write: AtPhaseWrite,
pub completion_mode: Option<ExchangeCompletionMode>,
pub result_format: Option<AtResultFormat>,
pub timeout_ms: Option<u64>,
pub command: Option<String>,
pub rx_prepare: Option<RxPrepareMode>,
}Expand description
One step in a multi-phase AT flow (e.g. CMGS).
Fields§
§write: AtPhaseWriteUTF-8 command or raw bytes (array of u8).
completion_mode: Option<ExchangeCompletionMode>§result_format: Option<AtResultFormat>§timeout_ms: Option<u64>§command: Option<String>§rx_prepare: Option<RxPrepareMode>Trait Implementations§
Source§impl<'de> Deserialize<'de> for AtPhase
impl<'de> Deserialize<'de> for AtPhase
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 AtPhase
impl Freeze for AtPhase
impl RefUnwindSafe for AtPhase
impl Send for AtPhase
impl Sync for AtPhase
impl Unpin for AtPhase
impl UnsafeUnpin for AtPhase
impl UnwindSafe for AtPhase
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