pub struct UpdateWebhookPolicyOfProjectParams {
pub project_name_or_id: String,
pub webhook_policy_id: i64,
pub policy: WebhookPolicy,
pub x_request_id: Option<String>,
pub x_is_resource_name: Option<bool>,
}Expand description
struct for passing parameters to the method update_webhook_policy_of_project
Fields§
§project_name_or_id: StringThe name or id of the project
webhook_policy_id: i64The ID of the webhook policy
policy: WebhookPolicyAll properties needed except "id", "project_id", "creation_time", "update_time".
x_request_id: Option<String>An unique ID for the request
x_is_resource_name: Option<bool>The flag to indicate whether the parameter which supports both name and id in the path is the name of the resource. When the X-Is-Resource-Name is false and the parameter can be converted to an integer, the parameter will be as an id, otherwise, it will be as a name.
Trait Implementations§
Source§impl Clone for UpdateWebhookPolicyOfProjectParams
impl Clone for UpdateWebhookPolicyOfProjectParams
Source§fn clone(&self) -> UpdateWebhookPolicyOfProjectParams
fn clone(&self) -> UpdateWebhookPolicyOfProjectParams
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 moreAuto Trait Implementations§
impl Freeze for UpdateWebhookPolicyOfProjectParams
impl RefUnwindSafe for UpdateWebhookPolicyOfProjectParams
impl Send for UpdateWebhookPolicyOfProjectParams
impl Sync for UpdateWebhookPolicyOfProjectParams
impl Unpin for UpdateWebhookPolicyOfProjectParams
impl UnwindSafe for UpdateWebhookPolicyOfProjectParams
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