pub struct GetTaskRequest {
pub id: String,
pub history_length: Option<u32>,
pub tenant: Option<String>,
}Expand description
Parameters for tasks/get operation
Fields§
§id: StringTask ID
history_length: Option<u32>Message history depth
tenant: Option<String>Optional tenant
Trait Implementations§
Source§impl Clone for GetTaskRequest
impl Clone for GetTaskRequest
Source§fn clone(&self) -> GetTaskRequest
fn clone(&self) -> GetTaskRequest
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 GetTaskRequest
impl Debug for GetTaskRequest
Source§impl<'de> Deserialize<'de> for GetTaskRequest
impl<'de> Deserialize<'de> for GetTaskRequest
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 PartialEq for GetTaskRequest
impl PartialEq for GetTaskRequest
Source§impl Serialize for GetTaskRequest
impl Serialize for GetTaskRequest
impl StructuralPartialEq for GetTaskRequest
Auto Trait Implementations§
impl Freeze for GetTaskRequest
impl RefUnwindSafe for GetTaskRequest
impl Send for GetTaskRequest
impl Sync for GetTaskRequest
impl Unpin for GetTaskRequest
impl UnwindSafe for GetTaskRequest
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