pub struct GetTaskPushNotificationConfigRequest {
pub name: String,
pub tenant: String,
}Expand description
GetTaskPushNotificationConfigRequest
JSON schema
{
"title": "Get Task Push Notification Config Request",
"type": "object",
"required": [
"name",
"tenant"
],
"properties": {
"name": {
"description": "The resource name of the config to retrieve.\n Format: tasks/{task_id}/pushNotificationConfigs/{config_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 config to retrieve. Format: tasks/{task_id}/pushNotificationConfigs/{config_id}
tenant: StringOptional tenant, provided as a path parameter.
Implementations§
Trait Implementations§
Source§impl Clone for GetTaskPushNotificationConfigRequest
impl Clone for GetTaskPushNotificationConfigRequest
Source§fn clone(&self) -> GetTaskPushNotificationConfigRequest
fn clone(&self) -> GetTaskPushNotificationConfigRequest
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<'de> Deserialize<'de> for GetTaskPushNotificationConfigRequest
impl<'de> Deserialize<'de> for GetTaskPushNotificationConfigRequest
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<GetTaskPushNotificationConfigRequest> for GetTaskPushNotificationConfigRequest
impl From<GetTaskPushNotificationConfigRequest> for GetTaskPushNotificationConfigRequest
Source§fn from(value: GetTaskPushNotificationConfigRequest) -> Self
fn from(value: GetTaskPushNotificationConfigRequest) -> Self
Converts to this type from the input type.
Source§impl TryFrom<GetTaskPushNotificationConfigRequest> for GetTaskPushNotificationConfigRequest
impl TryFrom<GetTaskPushNotificationConfigRequest> for GetTaskPushNotificationConfigRequest
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: GetTaskPushNotificationConfigRequest,
) -> Result<Self, ConversionError>
fn try_from( value: GetTaskPushNotificationConfigRequest, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for GetTaskPushNotificationConfigRequest
impl RefUnwindSafe for GetTaskPushNotificationConfigRequest
impl Send for GetTaskPushNotificationConfigRequest
impl Sync for GetTaskPushNotificationConfigRequest
impl Unpin for GetTaskPushNotificationConfigRequest
impl UnsafeUnpin for GetTaskPushNotificationConfigRequest
impl UnwindSafe for GetTaskPushNotificationConfigRequest
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