#[non_exhaustive]pub struct BigtableColumn {
pub qualifier: Bytes,
pub field_name: String,
pub encoding: Encoding,
pub type: Type,
/* private fields */
}Available on crate feature
document-service only.Expand description
The column of the Bigtable.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.qualifier: BytesRequired. Qualifier of the column. If it cannot be decoded with utf-8, use a base-64 encoded string instead.
field_name: StringThe field name to use for this column in the document. The name has to
match the pattern [a-zA-Z0-9][a-zA-Z0-9-_]*.
If not set, it is parsed from the qualifier bytes with best effort.
However, due to different naming patterns, field name collisions could
happen, where parsing behavior is undefined.
encoding: EncodingThe encoding mode of the values when the type is not STRING.
Acceptable encoding values are:
TEXT: indicates values are alphanumeric text strings.BINARY: indicates values are encoded usingHBase Bytes.toBytesfamily of functions. This can be overridden for a specific column by listing that column incolumnsand specifying an encoding for it.
type: TypeThe type of values in this column family.
The values are expected to be encoded using HBase Bytes.toBytes
function when the encoding value is set to BINARY.
Implementations§
Trait Implementations§
Source§impl Clone for BigtableColumn
impl Clone for BigtableColumn
Source§fn clone(&self) -> BigtableColumn
fn clone(&self) -> BigtableColumn
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BigtableColumn
impl Debug for BigtableColumn
Source§impl Default for BigtableColumn
impl Default for BigtableColumn
Source§fn default() -> BigtableColumn
fn default() -> BigtableColumn
Returns the “default value” for a type. Read more
Source§impl Message for BigtableColumn
impl Message for BigtableColumn
Source§impl PartialEq for BigtableColumn
impl PartialEq for BigtableColumn
impl StructuralPartialEq for BigtableColumn
Auto Trait Implementations§
impl !Freeze for BigtableColumn
impl RefUnwindSafe for BigtableColumn
impl Send for BigtableColumn
impl Sync for BigtableColumn
impl Unpin for BigtableColumn
impl UnwindSafe for BigtableColumn
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