pub struct BridgeExecuteRequest {
pub message_type: String,
pub issued_at_ms: i64,
pub expires_at_ms: i64,
pub auth: BridgeAuth,
pub action: String,
}Expand description
设备侧执行请求 envelope。
Fields§
§message_type: String§issued_at_ms: i64请求签发时间(epoch milliseconds)。
expires_at_ms: i64请求过期时间(epoch milliseconds)。
auth: BridgeAuth认证标签,绑定到 action 字节。
action: Stringcanonical 序列化后的 AuthorizedAction。
Trait Implementations§
Source§impl Clone for BridgeExecuteRequest
impl Clone for BridgeExecuteRequest
Source§fn clone(&self) -> BridgeExecuteRequest
fn clone(&self) -> BridgeExecuteRequest
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 BridgeExecuteRequest
impl Debug for BridgeExecuteRequest
Source§impl<'de> Deserialize<'de> for BridgeExecuteRequest
impl<'de> Deserialize<'de> for BridgeExecuteRequest
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 Freeze for BridgeExecuteRequest
impl RefUnwindSafe for BridgeExecuteRequest
impl Send for BridgeExecuteRequest
impl Sync for BridgeExecuteRequest
impl Unpin for BridgeExecuteRequest
impl UnsafeUnpin for BridgeExecuteRequest
impl UnwindSafe for BridgeExecuteRequest
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