pub struct DestinationMatchBuilder { /* private fields */ }Expand description
Builder for DestinationMatch.
Implementations§
Source§impl DestinationMatchBuilder
impl DestinationMatchBuilder
pub fn host(&mut self, value: Option<DestinationMatchValue>) -> &mut Self
pub fn path_prefix(&mut self, value: Option<DestinationMatchValue>) -> &mut Self
pub fn path_exact(&mut self, value: Option<String>) -> &mut Self
Sourcepub fn build(&self) -> Result<DestinationMatch, DestinationMatchBuilderError>
pub fn build(&self) -> Result<DestinationMatch, DestinationMatchBuilderError>
Trait Implementations§
Source§impl Clone for DestinationMatchBuilder
impl Clone for DestinationMatchBuilder
Source§fn clone(&self) -> DestinationMatchBuilder
fn clone(&self) -> DestinationMatchBuilder
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 moreAuto Trait Implementations§
impl Freeze for DestinationMatchBuilder
impl RefUnwindSafe for DestinationMatchBuilder
impl Send for DestinationMatchBuilder
impl Sync for DestinationMatchBuilder
impl Unpin for DestinationMatchBuilder
impl UnwindSafe for DestinationMatchBuilder
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