pub struct ScheduleMeasurement {Show 14 fields
pub probing_rate: u32,
pub configurations: Vec<Configuration>,
pub m_type: u32,
pub is_unicast: bool,
pub is_ipv6: bool,
pub worker_interval: u32,
pub is_responsive: bool,
pub is_latency: bool,
pub is_divide: bool,
pub targets: Option<Targets>,
pub record: String,
pub url: String,
pub probe_interval: u32,
pub number_of_probes: u32,
}
Expand description
Schedule a measurement with the orchestrator
Fields§
§probing_rate: u32
§configurations: Vec<Configuration>
Configuration of worker and origin combinations
m_type: u32
§is_unicast: bool
§is_ipv6: bool
§worker_interval: u32
§is_responsive: bool
§is_latency: bool
§is_divide: bool
§targets: Option<Targets>
§record: String
Record to send CHAOS (TXT) or A/AAAA requests for
url: String
URL to encode in probes (e.g., opt-out link)
probe_interval: u32
interval between probes from/to the same origin,dst pair
number_of_probes: u32
number of probes to send per origin,dst pair
Trait Implementations§
Source§impl Clone for ScheduleMeasurement
impl Clone for ScheduleMeasurement
Source§fn clone(&self) -> ScheduleMeasurement
fn clone(&self) -> ScheduleMeasurement
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 ScheduleMeasurement
impl Debug for ScheduleMeasurement
Source§impl Default for ScheduleMeasurement
impl Default for ScheduleMeasurement
Source§impl Message for ScheduleMeasurement
impl Message for ScheduleMeasurement
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self
. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
.Source§impl PartialEq for ScheduleMeasurement
impl PartialEq for ScheduleMeasurement
impl StructuralPartialEq for ScheduleMeasurement
Auto Trait Implementations§
impl Freeze for ScheduleMeasurement
impl RefUnwindSafe for ScheduleMeasurement
impl Send for ScheduleMeasurement
impl Sync for ScheduleMeasurement
impl Unpin for ScheduleMeasurement
impl UnwindSafe for ScheduleMeasurement
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered
].