pub struct GoogleCloudEssentialcontactsV1SendTestMessageRequest {
pub contacts: Option<Vec<String>>,
pub notification_category: Option<String>,
}Expand description
Request message for the SendTestMessage method.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- contacts send test message folders (request)
- contacts send test message organizations (request)
- contacts send test message projects (request)
Fields§
§contacts: Option<Vec<String>>Required. The list of names of the contacts to send a test message to. Format: organizations/{organization_id}/contacts/{contact_id}, folders/{folder_id}/contacts/{contact_id} or projects/{project_id}/contacts/{contact_id}
notification_category: Option<String>Required. The notification category to send the test message for. All contacts must be subscribed to this category.
Trait Implementations§
Source§impl Clone for GoogleCloudEssentialcontactsV1SendTestMessageRequest
impl Clone for GoogleCloudEssentialcontactsV1SendTestMessageRequest
Source§fn clone(&self) -> GoogleCloudEssentialcontactsV1SendTestMessageRequest
fn clone(&self) -> GoogleCloudEssentialcontactsV1SendTestMessageRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for GoogleCloudEssentialcontactsV1SendTestMessageRequest
impl Default for GoogleCloudEssentialcontactsV1SendTestMessageRequest
Source§fn default() -> GoogleCloudEssentialcontactsV1SendTestMessageRequest
fn default() -> GoogleCloudEssentialcontactsV1SendTestMessageRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudEssentialcontactsV1SendTestMessageRequest
impl<'de> Deserialize<'de> for GoogleCloudEssentialcontactsV1SendTestMessageRequest
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
impl RequestValue for GoogleCloudEssentialcontactsV1SendTestMessageRequest
Auto Trait Implementations§
impl Freeze for GoogleCloudEssentialcontactsV1SendTestMessageRequest
impl RefUnwindSafe for GoogleCloudEssentialcontactsV1SendTestMessageRequest
impl Send for GoogleCloudEssentialcontactsV1SendTestMessageRequest
impl Sync for GoogleCloudEssentialcontactsV1SendTestMessageRequest
impl Unpin for GoogleCloudEssentialcontactsV1SendTestMessageRequest
impl UnwindSafe for GoogleCloudEssentialcontactsV1SendTestMessageRequest
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