#[non_exhaustive]pub struct TrafficTargetStatus {
pub type: TrafficTargetAllocationType,
pub revision: String,
pub percent: i32,
pub tag: String,
pub uri: String,
/* private fields */
}Expand description
Represents the observed state of a single TrafficTarget entry.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.type: TrafficTargetAllocationTypeThe allocation type for this traffic target.
revision: StringRevision to which this traffic is sent.
percent: i32Specifies percent of the traffic to this Revision.
tag: StringIndicates the string used in the URI to exclusively reference this target.
uri: StringDisplays the target URI.
Implementations§
Source§impl TrafficTargetStatus
impl TrafficTargetStatus
Trait Implementations§
Source§impl Clone for TrafficTargetStatus
impl Clone for TrafficTargetStatus
Source§fn clone(&self) -> TrafficTargetStatus
fn clone(&self) -> TrafficTargetStatus
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 Debug for TrafficTargetStatus
impl Debug for TrafficTargetStatus
Source§impl Default for TrafficTargetStatus
impl Default for TrafficTargetStatus
Source§fn default() -> TrafficTargetStatus
fn default() -> TrafficTargetStatus
Returns the “default value” for a type. Read more
Source§impl Message for TrafficTargetStatus
impl Message for TrafficTargetStatus
Source§impl PartialEq for TrafficTargetStatus
impl PartialEq for TrafficTargetStatus
impl StructuralPartialEq for TrafficTargetStatus
Auto Trait Implementations§
impl Freeze for TrafficTargetStatus
impl RefUnwindSafe for TrafficTargetStatus
impl Send for TrafficTargetStatus
impl Sync for TrafficTargetStatus
impl Unpin for TrafficTargetStatus
impl UnwindSafe for TrafficTargetStatus
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