pub struct AddMessagingEndpointPayload {
pub provider_id: String,
pub provider_type: String,
pub display_name: String,
pub secret_refs: Vec<String>,
pub webhook_secret_ref: Option<String>,
pub updated_by: String,
}Expand description
Inputs to EnvironmentMutations::add_messaging_endpoint, and the A8
POST /environments/{env}/messaging request body.
No endpoint_id — the storage-owning side mints it (the bundles-group
DeploymentId precedent). No idempotency_key — the key rides the
trait method and the A8 Idempotency-Key header; the engine receives
it as a transform parameter because this group uses it for replay
detection (see the module doc).
Fields§
§provider_id: String§provider_type: String§display_name: String§secret_refs: Vec<String>Raw secret:// URIs — validated into SecretRefs by the
transform so local and remote reject malformed refs identically.
webhook_secret_ref: Option<String>Optional caller-supplied per-endpoint webhook secret ref (raw
secret:// URI). When present for a telegram-class endpoint the
transform validates and stamps it WITHOUT calling provision — the
caller owns value provisioning (remote operator stores use this so
the control-plane store never mints or custodies secret material).
None keeps the backend-provision path (LocalFS auto-mints). Supplying
it for a non-telegram-class endpoint is rejected.
updated_by: StringTrait Implementations§
Source§impl Clone for AddMessagingEndpointPayload
impl Clone for AddMessagingEndpointPayload
Source§fn clone(&self) -> AddMessagingEndpointPayload
fn clone(&self) -> AddMessagingEndpointPayload
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AddMessagingEndpointPayload
impl Debug for AddMessagingEndpointPayload
Source§impl<'de> Deserialize<'de> for AddMessagingEndpointPayload
impl<'de> Deserialize<'de> for AddMessagingEndpointPayload
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>,
impl Eq for AddMessagingEndpointPayload
Source§impl PartialEq for AddMessagingEndpointPayload
impl PartialEq for AddMessagingEndpointPayload
Source§fn eq(&self, other: &AddMessagingEndpointPayload) -> bool
fn eq(&self, other: &AddMessagingEndpointPayload) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AddMessagingEndpointPayload
Auto Trait Implementations§
impl Freeze for AddMessagingEndpointPayload
impl RefUnwindSafe for AddMessagingEndpointPayload
impl Send for AddMessagingEndpointPayload
impl Sync for AddMessagingEndpointPayload
impl Unpin for AddMessagingEndpointPayload
impl UnsafeUnpin for AddMessagingEndpointPayload
impl UnwindSafe for AddMessagingEndpointPayload
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request