#[non_exhaustive]pub struct RunListInput {
pub org: Option<String>,
pub namespace: Option<String>,
pub agent: Option<String>,
pub session_id: Option<String>,
pub status: Option<RunListInputStatus>,
pub limit: Option<Integer>,
pub offset: Option<Integer>,
pub order_by: Option<RunListInputOrderBy>,
pub q: Option<String>,
pub memory_activity: Option<RunListInputMemoryActivity>,
pub grade: Option<RunListInputGrade>,
pub fields: Option<Option<Vec<String>>>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.org: Option<String>§namespace: Option<String>§agent: Option<String>§session_id: Option<String>§status: Option<RunListInputStatus>§limit: Option<Integer>§offset: Option<Integer>§order_by: Option<RunListInputOrderBy>§q: Option<String>§memory_activity: Option<RunListInputMemoryActivity>§grade: Option<RunListInputGrade>§fields: Option<Option<Vec<String>>>Implementations§
Source§impl RunListInput
impl RunListInput
pub fn new() -> Self
pub fn org(self, org: impl Into<String>) -> Self
pub fn namespace(self, namespace: impl Into<String>) -> Self
pub fn agent(self, agent: impl Into<String>) -> Self
pub fn session_id(self, session_id: impl Into<String>) -> Self
pub fn status(self, status: RunListInputStatus) -> Self
pub fn limit(self, limit: impl Into<Integer>) -> Self
pub fn offset(self, offset: impl Into<Integer>) -> Self
pub fn order_by(self, order_by: RunListInputOrderBy) -> Self
pub fn q(self, q: impl Into<String>) -> Self
pub fn memory_activity( self, memory_activity: RunListInputMemoryActivity, ) -> Self
pub fn grade(self, grade: RunListInputGrade) -> Self
pub fn fields(self, fields: impl IntoIterator<Item = impl Into<String>>) -> Self
pub fn fields_null(self) -> Self
pub async fn send( self, client: &Client, options: CallOptions, ) -> Result<CallResult<RunListOutput>, CallFailure>
Trait Implementations§
Source§impl Clone for RunListInput
impl Clone for RunListInput
Source§impl Debug for RunListInput
impl Debug for RunListInput
Source§impl Default for RunListInput
impl Default for RunListInput
Source§impl<'de> Deserialize<'de> for RunListInput
impl<'de> Deserialize<'de> for RunListInput
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 RunListInput
impl PartialEq for RunListInput
Source§impl Serialize for RunListInput
impl Serialize for RunListInput
impl StructuralPartialEq for RunListInput
Auto Trait Implementations§
impl Forget for RunListInput
impl Freeze for RunListInput
impl Move for RunListInput
impl RefUnwindSafe for RunListInput
impl Send for RunListInput
impl Sync for RunListInput
impl Unpin for RunListInput
impl UnsafeUnpin for RunListInput
impl UnwindSafe for RunListInput
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