pub struct OneToMany<'a> { /* private fields */ }Expand description
Builder for Client::one_to_many
Implementations§
Source§impl<'a> OneToMany<'a>
impl<'a> OneToMany<'a>
pub fn new(client: &'a Client) -> Self
pub fn arrive_by<V>(self, value: V) -> Self
pub fn elevation_costs<V>(self, value: V) -> Selfwhere
V: TryInto<ElevationCosts>,
pub fn many<V>(self, value: V) -> Self
pub fn max<V>(self, value: V) -> Self
pub fn max_matching_distance<V>(self, value: V) -> Self
pub fn mode<V>(self, value: V) -> Self
pub fn one<V>(self, value: V) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for OneToMany<'a>
impl<'a> !UnwindSafe for OneToMany<'a>
impl<'a> Freeze for OneToMany<'a>
impl<'a> Send for OneToMany<'a>
impl<'a> Sync for OneToMany<'a>
impl<'a> Unpin for OneToMany<'a>
impl<'a> UnsafeUnpin for OneToMany<'a>
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