pub struct GetTaskLogRequest {
pub id: u64,
pub log_cursor: Option<u64>,
pub maximum_count: Option<u64>,
}
Fields§
§id: u64
The program ID
log_cursor: Option<u64>
Only fetch logs after this cursor (included). If not provided, return logs stored with minimum cursor
maximum_count: Option<u64>
Fetch at most such number of logs. If not provided, use a default value that server specified
Implementations§
Source§impl GetTaskLogRequest
impl GetTaskLogRequest
pub fn new(id: u64) -> GetTaskLogRequest
Trait Implementations§
Source§impl Clone for GetTaskLogRequest
impl Clone for GetTaskLogRequest
Source§fn clone(&self) -> GetTaskLogRequest
fn clone(&self) -> GetTaskLogRequest
Returns a copy 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 GetTaskLogRequest
impl Debug for GetTaskLogRequest
Source§impl<'de> Deserialize<'de> for GetTaskLogRequest
impl<'de> Deserialize<'de> for GetTaskLogRequest
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
Source§impl FromStr for GetTaskLogRequest
Converts Query Parameters representation (style=form, explode=false) to a GetTaskLogRequest value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
impl FromStr for GetTaskLogRequest
Converts Query Parameters representation (style=form, explode=false) to a GetTaskLogRequest value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl PartialEq for GetTaskLogRequest
impl PartialEq for GetTaskLogRequest
Source§impl Serialize for GetTaskLogRequest
impl Serialize for GetTaskLogRequest
Source§impl ToString for GetTaskLogRequest
Converts the GetTaskLogRequest value to the Query Parameters representation (style=form, explode=false)
specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde serializer
impl ToString for GetTaskLogRequest
Converts the GetTaskLogRequest value to the Query Parameters representation (style=form, explode=false) specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde serializer
impl StructuralPartialEq for GetTaskLogRequest
Auto Trait Implementations§
impl Freeze for GetTaskLogRequest
impl RefUnwindSafe for GetTaskLogRequest
impl Send for GetTaskLogRequest
impl Sync for GetTaskLogRequest
impl Unpin for GetTaskLogRequest
impl UnwindSafe for GetTaskLogRequest
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