[−][src]Struct protobuf::well_known_types::Value
Fields
kind: Option<Value_oneof_kind>
unknown_fields: UnknownFields
cached_size: CachedSize
Implementations
impl Value
[src][−]
pub fn new() -> Value
[src]
pub fn get_null_value(&self) -> NullValue
[src]
pub fn clear_null_value(&mut self)
[src]
pub fn has_null_value(&self) -> bool
[src]
pub fn set_null_value(&mut self, v: NullValue)
[src]
pub fn get_number_value(&self) -> f64
[src]
pub fn clear_number_value(&mut self)
[src]
pub fn has_number_value(&self) -> bool
[src]
pub fn set_number_value(&mut self, v: f64)
[src]
pub fn get_string_value(&self) -> &str
[src]
pub fn clear_string_value(&mut self)
[src]
pub fn has_string_value(&self) -> bool
[src]
pub fn set_string_value(&mut self, v: String)
[src]
pub fn mut_string_value(&mut self) -> &mut String
[src]
pub fn take_string_value(&mut self) -> String
[src]
pub fn get_bool_value(&self) -> bool
[src]
pub fn clear_bool_value(&mut self)
[src]
pub fn has_bool_value(&self) -> bool
[src]
pub fn set_bool_value(&mut self, v: bool)
[src]
pub fn get_struct_value(&self) -> &Struct
[src]
pub fn clear_struct_value(&mut self)
[src]
pub fn has_struct_value(&self) -> bool
[src]
pub fn set_struct_value(&mut self, v: Struct)
[src]
pub fn mut_struct_value(&mut self) -> &mut Struct
[src]
pub fn take_struct_value(&mut self) -> Struct
[src]
pub fn get_list_value(&self) -> &ListValue
[src]
pub fn clear_list_value(&mut self)
[src]
pub fn has_list_value(&self) -> bool
[src]
pub fn set_list_value(&mut self, v: ListValue)
[src]
pub fn mut_list_value(&mut self) -> &mut ListValue
[src]
pub fn take_list_value(&mut self) -> ListValue
[src]
Trait Implementations
impl Clear for Value
[src][+]
impl Clone for Value
[src][+]
impl Debug for Value
[src][+]
impl Default for Value
[src][+]
impl<'a> Default for &'a Value
[src][+]
impl Message for Value
[src][+]
impl PartialEq<Value> for Value
[src][+]
impl ProtobufValue for Value
[src][+]
impl StructuralPartialEq for Value
[src]
Auto Trait Implementations
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,