pub enum KeyPath {
Single(String),
Array(Vec<String>),
}
Expand description
Represents key path of an object store
Variants§
Implementations§
source§impl 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§
source§impl PartialEq for KeyPath
impl PartialEq for KeyPath
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§
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