Enum google_api_proto::google::bigtable::admin::v2::modify_column_families_request::modification::Mod
source · pub enum Mod {
Create(ColumnFamily),
Update(ColumnFamily),
Drop(bool),
}
Expand description
Column family modifications.
Variants§
Create(ColumnFamily)
Create a new column family with the specified schema, or fail if one already exists with the given ID.
Update(ColumnFamily)
Update an existing column family to the specified schema, or fail if no column family exists with the given ID.
Drop(bool)
Drop (delete) the column family with the given ID, or fail if no such family exists.
Implementations§
source§impl Mod
impl Mod
sourcepub fn merge(
field: &mut Option<Mod>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<Mod>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
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§
impl StructuralPartialEq for Mod
Auto Trait Implementations§
impl Freeze for Mod
impl RefUnwindSafe for Mod
impl Send for Mod
impl Sync for Mod
impl Unpin for Mod
impl UnwindSafe for Mod
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