pub struct RoutingSlipConfig {
pub expression: RoutingSlipExpression,
pub uri_delimiter: String,
pub cache_size: i32,
pub ignore_invalid_endpoints: bool,
}Fields§
§expression: RoutingSlipExpression§uri_delimiter: String§cache_size: i32§ignore_invalid_endpoints: boolImplementations§
Source§impl RoutingSlipConfig
impl RoutingSlipConfig
pub fn new(expression: RoutingSlipExpression) -> Self
pub fn uri_delimiter(self, d: impl Into<String>) -> Self
pub fn cache_size(self, n: i32) -> Self
pub fn ignore_invalid_endpoints(self, ignore: bool) -> Self
Trait Implementations§
Source§impl Clone for RoutingSlipConfig
impl Clone for RoutingSlipConfig
Source§fn clone(&self) -> RoutingSlipConfig
fn clone(&self) -> RoutingSlipConfig
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 RoutingSlipConfig
impl !RefUnwindSafe for RoutingSlipConfig
impl Send for RoutingSlipConfig
impl Sync for RoutingSlipConfig
impl Unpin for RoutingSlipConfig
impl UnsafeUnpin for RoutingSlipConfig
impl !UnwindSafe for RoutingSlipConfig
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