FetchExternalTaskTopicDto

Struct FetchExternalTaskTopicDto 

Source
pub struct FetchExternalTaskTopicDto {
Show 14 fields pub topic_name: String, pub lock_duration: Option<i64>, pub variables: Option<Vec<String>>, pub local_variables: Option<bool>, pub business_key: Option<String>, pub process_definition_id: Option<String>, pub process_definition_id_in: Option<Vec<String>>, pub process_definition_key: Option<String>, pub process_definition_key_in: Option<Vec<String>>, pub process_definition_version_tag: Option<String>, pub without_tenant_id: Option<bool>, pub tenant_id_in: Option<Vec<String>>, pub process_variables: Option<HashMap<String, Value>>, pub deserialize_values: Option<bool>,
}

Fields§

§topic_name: String

Mandatory. The topic’s name.

§lock_duration: Option<i64>

Mandatory. The duration to lock the external tasks for in milliseconds.

§variables: Option<Vec<String>>

A JSON array of String values that represent variable names. For each result task belonging to this topic, the given variables are returned as well if they are accessible from the external task’s execution. If not provided - all variables will be fetched.

§local_variables: Option<bool>

If true only local variables will be fetched.

§business_key: Option<String>

A String value which enables the filtering of tasks based on process instance business key.

§process_definition_id: Option<String>

Filter tasks based on process definition id.

§process_definition_id_in: Option<Vec<String>>

Filter tasks based on process definition ids.

§process_definition_key: Option<String>

Filter tasks based on process definition key.

§process_definition_key_in: Option<Vec<String>>

Filter tasks based on process definition keys.

§process_definition_version_tag: Option<String>

Filter tasks based on process definition version tag.

§without_tenant_id: Option<bool>

Filter tasks without tenant id.

§tenant_id_in: Option<Vec<String>>

Filter tasks based on tenant ids.

§process_variables: Option<HashMap<String, Value>>

A JSON object used for filtering tasks based on process instance variable values. A property name of the object represents a process variable name, while the property value represents the process variable value to filter tasks by.

§deserialize_values: Option<bool>

Determines whether serializable variable values (typically variables that store custom Java objects) should be deserialized on server side (default false). If set to true, a serializable variable will be deserialized on server side and transformed to JSON using Jackson’s POJO/bean property introspection feature. Note that this requires the Java classes of the variable value to be on the REST API’s classpath. If set to false, a serializable variable will be returned in its serialized format. For example, a variable that is serialized as XML will be returned as a JSON string containing XML.

Implementations§

Trait Implementations§

Source§

impl Clone for FetchExternalTaskTopicDto

Source§

fn clone(&self) -> FetchExternalTaskTopicDto

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for FetchExternalTaskTopicDto

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for FetchExternalTaskTopicDto

Source§

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 FetchExternalTaskTopicDto

Source§

fn eq(&self, other: &FetchExternalTaskTopicDto) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for FetchExternalTaskTopicDto

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for FetchExternalTaskTopicDto

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Err = <U as TryFrom<T>>::Err

Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Err>

Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> ErasedDestructor for T
where T: 'static,