pub struct ExecutionScheduleRequest {
pub taskid: u64,
}Expand description
ExecutionScheduleRequest finalizes an upload and requests the device to execute the uploaded 3rd party app. The upload must have been completed (i.e. the sum of chunk sizes matches the declared size).
The Ark answers once the owner approves or declines on their phone, or the approval window runs out.
Fields§
§taskid: u64Task id returned by ExecutionUploadStartResponse
Trait Implementations§
Source§impl Clone for ExecutionScheduleRequest
impl Clone for ExecutionScheduleRequest
impl Copy for ExecutionScheduleRequest
Source§impl Debug for ExecutionScheduleRequest
impl Debug for ExecutionScheduleRequest
Source§impl Default for ExecutionScheduleRequest
impl Default for ExecutionScheduleRequest
impl Eq for ExecutionScheduleRequest
Source§impl From<ExecutionScheduleRequest> for Message
impl From<ExecutionScheduleRequest> for Message
Source§fn from(message: ExecutionScheduleRequest) -> Self
fn from(message: ExecutionScheduleRequest) -> Self
Wraps a concrete payload in its corresponding message variant.
Source§impl Hash for ExecutionScheduleRequest
impl Hash for ExecutionScheduleRequest
Source§impl Message for ExecutionScheduleRequest
impl Message for ExecutionScheduleRequest
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for ExecutionScheduleRequest
impl PartialEq for ExecutionScheduleRequest
impl StructuralPartialEq for ExecutionScheduleRequest
Auto Trait Implementations§
impl Freeze for ExecutionScheduleRequest
impl RefUnwindSafe for ExecutionScheduleRequest
impl Send for ExecutionScheduleRequest
impl Sync for ExecutionScheduleRequest
impl Unpin for ExecutionScheduleRequest
impl UnsafeUnpin for ExecutionScheduleRequest
impl UnwindSafe for ExecutionScheduleRequest
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