Expand description
Represents key path of an object store
Variants
Single(String)
Key path with single key
Array(Vec<String>)
Key path with multiple keys
Implementations
sourceimpl KeyPath
impl KeyPath
sourcepub fn new_single(key_path: &str) -> Self
pub fn new_single(key_path: &str) -> Self
Creates new single key path
sourcepub fn new_array<'a>(key_path_array: impl IntoIterator<Item = &'a str>) -> Self
pub fn new_array<'a>(key_path_array: impl IntoIterator<Item = &'a str>) -> Self
Creates new multiple key path
Trait Implementations
impl Eq for KeyPath
impl StructuralEq for KeyPath
impl StructuralPartialEq for KeyPath
Auto Trait Implementations
impl RefUnwindSafe for KeyPath
impl Send for KeyPath
impl Sync for KeyPath
impl Unpin for KeyPath
impl UnwindSafe for KeyPath
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