pub struct OperationResponse {
pub code: u8,
pub return_code: i16,
pub debug_message: String,
pub parameters: Parameters,
}Expand description
OperationResponse frame (3 bytes + debug_message + parameters)
| code | return_code | debug_message | parameters |
|---|---|---|---|
| 1 | 2 | ? | ? |
| —— | ———–– | ————— | ———— |
Fields§
§code: u8§return_code: i16§debug_message: String§parameters: ParametersTrait Implementations§
Source§impl Clone for OperationResponse
impl Clone for OperationResponse
Source§fn clone(&self) -> OperationResponse
fn clone(&self) -> OperationResponse
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 OperationResponse
impl Debug for OperationResponse
Source§impl Decode<OperationResponse> for PhotonCursor<'_>
impl Decode<OperationResponse> for PhotonCursor<'_>
fn decode(&mut self) -> Result<OperationResponse, PhotonDecodeError>
Source§impl PartialEq for OperationResponse
impl PartialEq for OperationResponse
impl StructuralPartialEq for OperationResponse
Auto Trait Implementations§
impl Freeze for OperationResponse
impl RefUnwindSafe for OperationResponse
impl Send for OperationResponse
impl Sync for OperationResponse
impl Unpin for OperationResponse
impl UnwindSafe for OperationResponse
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