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