Struct versatile_data::Field
source · [−]pub struct Field { /* private fields */ }
Implementations
sourceimpl Field
impl Field
pub fn new(path_prefix: &str) -> Result<Field, Error>
pub fn entity<'a>(&self, id: u32) -> Option<&'a FieldEntity>
pub fn str<'a>(&self, id: u32) -> Option<&'a str>
pub fn num(&self, id: u32) -> Option<f64>
pub fn update(&mut self, id: u32, content: &[u8]) -> Option<u32>
pub fn delete(&mut self, id: u32)
pub fn search(&self, condition: &ConditionField) -> IdSet
Auto Trait Implementations
impl RefUnwindSafe for Field
impl !Send for Field
impl !Sync for Field
impl Unpin for Field
impl UnwindSafe for Field
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more