Enum googapis::google::ads::googleads::v7::common::operand::constant_operand::ConstantOperandValue [−][src]
pub enum ConstantOperandValue {
StringValue(String),
LongValue(i64),
BooleanValue(bool),
DoubleValue(f64),
}
Expand description
Constant operand values. Required.
Variants
StringValue(String)
String value of the operand if it is a string type.
Tuple Fields of StringValue
0: String
LongValue(i64)
Int64 value of the operand if it is a int64 type.
Tuple Fields of LongValue
0: i64
BooleanValue(bool)
Boolean value of the operand if it is a boolean type.
Tuple Fields of BooleanValue
0: bool
DoubleValue(f64)
Double value of the operand if it is a double type.
Tuple Fields of DoubleValue
0: f64
Implementations
pub fn merge<B>(
field: &mut Option<ConstantOperandValue>,
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 ConstantOperandValue
impl Send for ConstantOperandValue
impl Sync for ConstantOperandValue
impl Unpin for ConstantOperandValue
impl UnwindSafe for ConstantOperandValue
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