pub struct KeyPathBuilder { /* private fields */ }
Implementations§
Source§impl KeyPathBuilder
impl KeyPathBuilder
pub fn type(self, type: impl Into<KeyPathType>) -> KeyPathBuilder
pub fn string(self, string: impl Into<String>) -> KeyPathBuilder
pub fn array(self, array: impl Into<String>) -> KeyPathBuilder
pub fn arrays<I, S>(self, arrays: I) -> KeyPathBuilder
pub fn build(self) -> Result<KeyPath, String>
Trait Implementations§
Source§impl Clone for KeyPathBuilder
impl Clone for KeyPathBuilder
Source§fn clone(&self) -> KeyPathBuilder
fn clone(&self) -> KeyPathBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for KeyPathBuilder
impl Default for KeyPathBuilder
Source§fn default() -> KeyPathBuilder
fn default() -> KeyPathBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for KeyPathBuilder
impl RefUnwindSafe for KeyPathBuilder
impl Send for KeyPathBuilder
impl Sync for KeyPathBuilder
impl Unpin for KeyPathBuilder
impl UnwindSafe for KeyPathBuilder
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