pub struct Map { /* private fields */ }
Implementations§
source§impl Map
impl Map
pub fn new(key: Key, fields: Vec<FieldDefinition>) -> Result<Self, Error>
pub fn parse<S: AsRef<str>>(map: S) -> Result<Self, Error>
pub fn lookup_field( &self, ident: &Identifier ) -> Result<&FieldDefinition, Error>
pub fn to_protoql(&self) -> String
pub fn describe_keys(&self, prefix: &str) -> Vec<String>
Trait Implementations§
impl Eq for Map
impl StructuralPartialEq for Map
Auto Trait Implementations§
impl RefUnwindSafe for Map
impl Send for Map
impl Sync for Map
impl Unpin for Map
impl UnwindSafe for Map
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