pub struct WebhookProvisionOutcome {
pub url: String,
pub secret_returned: bool,
pub secret_persisted: bool,
pub secret_file: Option<PathBuf>,
pub subscribed: Option<Vec<String>>,
}Expand description
Result of multi-step webhook provisioning (PUT /webhooks, secret persistence, PUT /subscriptions).
Fields§
§url: String§secret_returned: bool§secret_persisted: bool§secret_file: Option<PathBuf>§subscribed: Option<Vec<String>>Trait Implementations§
Source§impl Clone for WebhookProvisionOutcome
impl Clone for WebhookProvisionOutcome
Auto Trait Implementations§
impl Forget for WebhookProvisionOutcome
impl Freeze for WebhookProvisionOutcome
impl Move for WebhookProvisionOutcome
impl RefUnwindSafe for WebhookProvisionOutcome
impl Send for WebhookProvisionOutcome
impl Sync for WebhookProvisionOutcome
impl Unpin for WebhookProvisionOutcome
impl UnsafeUnpin for WebhookProvisionOutcome
impl UnwindSafe for WebhookProvisionOutcome
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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