pub struct V3ApiSettings {
pub endpoints: Vec<String>,
pub validate: bool,
pub use_beta: bool,
pub beta_route: String,
pub shadow_sample_rate: f64,
pub shadow_sites: Vec<String>,
}Expand description
Per-payload V3 intake settings, reused for both series and sketches. Sketches read only
endpoints and validate; the remaining series-only fields stay at their defaults.
Fields§
§endpoints: Vec<String>Endpoints enabled for the V3 intake.
validate: boolWhether payloads are dual-sent to v2 and v3 for validation.
use_beta: boolWhether the beta V3 route is used instead of the stable one (series only).
beta_route: StringRoute for the beta V3 series API (series only).
shadow_sample_rate: f64Shadow-mode sample rate (series only).
shadow_sites: Vec<String>Sites for which shadow mode is enabled (series only).
Trait Implementations§
Source§impl Clone for V3ApiSettings
impl Clone for V3ApiSettings
Source§fn clone(&self) -> V3ApiSettings
fn clone(&self) -> V3ApiSettings
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 V3ApiSettings
impl Debug for V3ApiSettings
Source§impl Default for V3ApiSettings
impl Default for V3ApiSettings
Source§impl PartialEq for V3ApiSettings
impl PartialEq for V3ApiSettings
Source§impl Serialize for V3ApiSettings
impl Serialize for V3ApiSettings
impl StructuralPartialEq for V3ApiSettings
Auto Trait Implementations§
impl Freeze for V3ApiSettings
impl RefUnwindSafe for V3ApiSettings
impl Send for V3ApiSettings
impl Sync for V3ApiSettings
impl Unpin for V3ApiSettings
impl UnwindSafe for V3ApiSettings
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