pub struct PrefixNode {
pub data_source_node: Option<bool>,
pub depth: Option<i32>,
pub end_index: Option<i32>,
pub start_index: Option<i32>,
pub word: Option<String>,
}
Expand description
A message representing a key prefix node in the key prefix hierarchy. for eg. Bigtable keyspaces are lexicographically ordered mappings of keys to values. Keys often have a shared prefix structure where users use the keys to organize data. Eg ///employee In this case Keysight will possibly use one node for a company and reuse it for all employees that fall under the company. Doing so improves legibility in the UI.
This type is not used in any activity, and only used as part of another schema.
Fields§
§data_source_node: Option<bool>
Whether this corresponds to a data_source name.
depth: Option<i32>
The depth in the prefix hierarchy.
end_index: Option<i32>
The index of the end key bucket of the range that this node spans.
start_index: Option<i32>
The index of the start key bucket of the range that this node spans.
word: Option<String>
The string represented by the prefix node.
Trait Implementations§
Source§impl Clone for PrefixNode
impl Clone for PrefixNode
Source§fn clone(&self) -> PrefixNode
fn clone(&self) -> PrefixNode
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for PrefixNode
impl Debug for PrefixNode
Source§impl Default for PrefixNode
impl Default for PrefixNode
Source§fn default() -> PrefixNode
fn default() -> PrefixNode
Source§impl<'de> Deserialize<'de> for PrefixNode
impl<'de> Deserialize<'de> for PrefixNode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for PrefixNode
impl Serialize for PrefixNode
impl Part for PrefixNode
Auto Trait Implementations§
impl Freeze for PrefixNode
impl RefUnwindSafe for PrefixNode
impl Send for PrefixNode
impl Sync for PrefixNode
impl Unpin for PrefixNode
impl UnwindSafe for PrefixNode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more