pub struct SubscribeToTaskRequest {
pub name: String,
pub tenant: String,
}Expand description
SubscribeToTaskRequest
JSON schema
{
"title": "Subscribe To Task Request",
"type": "object",
"required": [
"name",
"tenant"
],
"properties": {
"name": {
"description": "The resource name of the task to subscribe to.\n Format: tasks/{task_id}",
"type": "string"
},
"tenant": {
"description": "Optional tenant, provided as a path parameter.",
"type": "string"
}
},
"additionalProperties": false,
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Fields§
§name: StringThe resource name of the task to subscribe to. Format: tasks/{task_id}
tenant: StringOptional tenant, provided as a path parameter.
Implementations§
Source§impl SubscribeToTaskRequest
impl SubscribeToTaskRequest
pub fn builder() -> SubscribeToTaskRequest
Trait Implementations§
Source§impl Clone for SubscribeToTaskRequest
impl Clone for SubscribeToTaskRequest
Source§fn clone(&self) -> SubscribeToTaskRequest
fn clone(&self) -> SubscribeToTaskRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SubscribeToTaskRequest
impl Debug for SubscribeToTaskRequest
Source§impl<'de> Deserialize<'de> for SubscribeToTaskRequest
impl<'de> Deserialize<'de> for SubscribeToTaskRequest
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 From<SubscribeToTaskRequest> for SubscribeToTaskRequest
impl From<SubscribeToTaskRequest> for SubscribeToTaskRequest
Source§fn from(value: SubscribeToTaskRequest) -> Self
fn from(value: SubscribeToTaskRequest) -> Self
Converts to this type from the input type.
Source§impl Serialize for SubscribeToTaskRequest
impl Serialize for SubscribeToTaskRequest
Source§impl TryFrom<SubscribeToTaskRequest> for SubscribeToTaskRequest
impl TryFrom<SubscribeToTaskRequest> for SubscribeToTaskRequest
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: SubscribeToTaskRequest) -> Result<Self, ConversionError>
fn try_from(value: SubscribeToTaskRequest) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SubscribeToTaskRequest
impl RefUnwindSafe for SubscribeToTaskRequest
impl Send for SubscribeToTaskRequest
impl Sync for SubscribeToTaskRequest
impl Unpin for SubscribeToTaskRequest
impl UnsafeUnpin for SubscribeToTaskRequest
impl UnwindSafe for SubscribeToTaskRequest
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
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