Enum google_api_proto::google::cloud::datacatalog::v1::tag_field::Kind
source · pub enum Kind {
DoubleValue(f64),
StringValue(String),
BoolValue(bool),
TimestampValue(Timestamp),
EnumValue(EnumValue),
RichtextValue(String),
}
Expand description
Required. The value of this field.
Variants§
DoubleValue(f64)
The value of a tag field with a double type.
StringValue(String)
The value of a tag field with a string type.
The maximum length is 2000 UTF-8 characters.
BoolValue(bool)
The value of a tag field with a boolean type.
TimestampValue(Timestamp)
The value of a tag field with a timestamp type.
EnumValue(EnumValue)
The value of a tag field with an enum type.
This value must be one of the allowed values listed in this enum.
RichtextValue(String)
The value of a tag field with a rich text type.
The maximum length is 10 MiB as this value holds HTML descriptions including encoded images. The maximum length of the text without images is 100 KiB.
Implementations§
source§impl Kind
impl Kind
sourcepub fn merge<B>(
field: &mut Option<Kind>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
pub fn merge<B>(
field: &mut Option<Kind>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl PartialEq for Kind
impl PartialEq for Kind
impl StructuralPartialEq for Kind
Auto Trait Implementations§
impl Freeze for Kind
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnwindSafe for Kind
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
§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>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request