#[non_exhaustive]pub struct TaskListInput {
pub org: Option<String>,
pub namespace: Option<String>,
pub agent: Option<String>,
pub inbox: Option<Option<String>>,
pub posted_by_me: Option<bool>,
pub posted_by: Option<Option<String>>,
pub statuses: Option<Vec<TaskListInputStatusesItem>>,
pub kinds: Option<Vec<String>>,
pub owner: Option<Option<String>>,
pub limit: Option<Integer>,
pub fields: Option<Vec<String>>,
pub newest_first: Option<bool>,
}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>§inbox: Option<Option<String>>§posted_by_me: Option<bool>§posted_by: Option<Option<String>>§statuses: Option<Vec<TaskListInputStatusesItem>>§kinds: Option<Vec<String>>§owner: Option<Option<String>>§limit: Option<Integer>§fields: Option<Vec<String>>§newest_first: Option<bool>Implementations§
Source§impl TaskListInput
impl TaskListInput
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 inbox(self, inbox: impl Into<String>) -> Self
pub fn inbox_null(self) -> Self
pub fn posted_by_me(self, posted_by_me: bool) -> Self
pub fn posted_by(self, posted_by: impl Into<String>) -> Self
pub fn posted_by_null(self) -> Self
pub fn statuses(self, statuses: Vec<TaskListInputStatusesItem>) -> Self
pub fn kinds(self, kinds: impl IntoIterator<Item = impl Into<String>>) -> Self
pub fn owner(self, owner: impl Into<String>) -> Self
pub fn owner_null(self) -> Self
pub fn limit(self, limit: impl Into<Integer>) -> Self
pub fn fields(self, fields: impl IntoIterator<Item = impl Into<String>>) -> Self
pub fn newest_first(self, newest_first: bool) -> Self
pub async fn send( self, client: &Client, options: CallOptions, ) -> Result<CallResult<TaskListOutput>, CallFailure>
Trait Implementations§
Source§impl Clone for TaskListInput
impl Clone for TaskListInput
Source§impl Debug for TaskListInput
impl Debug for TaskListInput
Source§impl Default for TaskListInput
impl Default for TaskListInput
Source§impl<'de> Deserialize<'de> for TaskListInput
impl<'de> Deserialize<'de> for TaskListInput
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 TaskListInput
impl PartialEq for TaskListInput
Source§impl Serialize for TaskListInput
impl Serialize for TaskListInput
impl StructuralPartialEq for TaskListInput
Auto Trait Implementations§
impl Forget for TaskListInput
impl Freeze for TaskListInput
impl Move for TaskListInput
impl RefUnwindSafe for TaskListInput
impl Send for TaskListInput
impl Sync for TaskListInput
impl Unpin for TaskListInput
impl UnsafeUnpin for TaskListInput
impl UnwindSafe for TaskListInput
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