pub struct SetTrafficSplitPayload {
pub deployment_id: DeploymentId,
pub entries: Vec<TrafficSplitEntry>,
pub updated_by: String,
pub authorization_ref: Option<String>,
}Expand description
Inputs to EnvironmentMutations::set_traffic_split, and the A8
POST /environments/{env_id}/traffic request body (field set pinned by
the PR-3b client’s SetTrafficSplitRequest). The A8 idempotency key is
NOT a field — it rides the HTTP header and the engine parameter, because
the traffic group persists it into TrafficSplit::idempotency_key.
Fields§
§deployment_id: DeploymentId§entries: Vec<TrafficSplitEntry>§updated_by: StringAudit provenance; defaults to auth.json when absent.
Trait Implementations§
Source§impl Clone for SetTrafficSplitPayload
impl Clone for SetTrafficSplitPayload
Source§fn clone(&self) -> SetTrafficSplitPayload
fn clone(&self) -> SetTrafficSplitPayload
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 Debug for SetTrafficSplitPayload
impl Debug for SetTrafficSplitPayload
Source§impl<'de> Deserialize<'de> for SetTrafficSplitPayload
impl<'de> Deserialize<'de> for SetTrafficSplitPayload
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
Auto Trait Implementations§
impl Freeze for SetTrafficSplitPayload
impl RefUnwindSafe for SetTrafficSplitPayload
impl Send for SetTrafficSplitPayload
impl Sync for SetTrafficSplitPayload
impl Unpin for SetTrafficSplitPayload
impl UnsafeUnpin for SetTrafficSplitPayload
impl UnwindSafe for SetTrafficSplitPayload
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
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<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>
Wrap the input message
T in a tonic::Request