pub struct Field { /* private fields */ }Implementations§
Source§impl Field
impl Field
pub fn new( ident: Identifier, number: FieldNumber, ty: DataType, breakout: bool, ) -> Result<Field, Error>
pub fn breakout(&self) -> bool
pub fn parse<S: AsRef<str>>(field: S) -> Result<Self, Error>
pub fn to_protoql(&self) -> String
pub fn describe_keys(&self, prefix: &str) -> Vec<String>
Trait Implementations§
Source§impl Ord for Field
impl Ord for Field
Source§impl PartialOrd for Field
impl PartialOrd for Field
impl Eq for Field
impl StructuralPartialEq for Field
Auto Trait Implementations§
impl Freeze for Field
impl RefUnwindSafe for Field
impl Send for Field
impl Sync for Field
impl Unpin for Field
impl UnwindSafe for Field
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