Enum googapis::google::cloud::talent::v4beta1::commute_filter::TrafficOption [−][src]
Expand description
Traffic factor to take into account while searching by commute.
Variants
RoadTraffic(i32)
Specifies the traffic density to use when calculating commute time.
Tuple Fields of RoadTraffic
0: i32
DepartureTime(TimeOfDay)
The departure time used to calculate traffic impact, represented as [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
Currently traffic model is restricted to hour level resolution.
Tuple Fields of DepartureTime
0: TimeOfDay
Implementations
pub fn merge<B>(
field: &mut Option<TrafficOption>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TrafficOption
impl Send for TrafficOption
impl Sync for TrafficOption
impl Unpin for TrafficOption
impl UnwindSafe for TrafficOption
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more