#[non_exhaustive]pub struct TaskUpdatesInput {
pub org: Option<String>,
pub namespace: Option<String>,
pub agent: Option<String>,
pub since_seq: Option<Integer>,
pub inbox: Option<Option<String>>,
pub limit: Option<Integer>,
pub wait_seconds: Option<Integer>,
pub from_subject: Option<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>§since_seq: Option<Integer>§inbox: Option<Option<String>>§limit: Option<Integer>§wait_seconds: Option<Integer>§from_subject: Option<String>Implementations§
Source§impl TaskUpdatesInput
impl TaskUpdatesInput
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 since_seq(self, since_seq: impl Into<Integer>) -> Self
pub fn inbox(self, inbox: impl Into<String>) -> Self
pub fn inbox_null(self) -> Self
pub fn limit(self, limit: impl Into<Integer>) -> Self
pub fn wait_seconds(self, wait_seconds: impl Into<Integer>) -> Self
pub fn from_subject(self, from_subject: impl Into<String>) -> Self
pub async fn send( self, client: &Client, options: CallOptions, ) -> Result<CallResult<TaskUpdatesOutput>, CallFailure>
Trait Implementations§
Source§impl Clone for TaskUpdatesInput
impl Clone for TaskUpdatesInput
Source§impl Debug for TaskUpdatesInput
impl Debug for TaskUpdatesInput
Source§impl Default for TaskUpdatesInput
impl Default for TaskUpdatesInput
Source§impl<'de> Deserialize<'de> for TaskUpdatesInput
impl<'de> Deserialize<'de> for TaskUpdatesInput
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 TaskUpdatesInput
impl PartialEq for TaskUpdatesInput
Source§impl Serialize for TaskUpdatesInput
impl Serialize for TaskUpdatesInput
impl StructuralPartialEq for TaskUpdatesInput
Auto Trait Implementations§
impl Forget for TaskUpdatesInput
impl Freeze for TaskUpdatesInput
impl Move for TaskUpdatesInput
impl RefUnwindSafe for TaskUpdatesInput
impl Send for TaskUpdatesInput
impl Sync for TaskUpdatesInput
impl Unpin for TaskUpdatesInput
impl UnsafeUnpin for TaskUpdatesInput
impl UnwindSafe for TaskUpdatesInput
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