pub struct AlloraSpec { /* private fields */ }Implementations§
Source§impl AlloraSpec
impl AlloraSpec
pub fn new(version: u32, channels: ChannelsSpec) -> Self
Sourcepub fn new_with_filters(
version: u32,
channels: ChannelsSpec,
filters: Option<FiltersSpec>,
) -> Self
pub fn new_with_filters( version: u32, channels: ChannelsSpec, filters: Option<FiltersSpec>, ) -> Self
Construct with an optional filters collection in a single call (ergonomic alternative to chaining with_filters).
When filters is None, behaves the same as new.
pub fn with_filters(self, filters: FiltersSpec) -> Self
pub fn with_services(self, services: ServiceActivatorsSpec) -> Self
pub fn with_http_inbound_adapters( self, adapters: HttpInboundAdaptersSpec, ) -> Self
pub fn with_http_outbound_adapters( self, adapters: HttpOutboundAdaptersSpec, ) -> Self
pub fn version(&self) -> u32
pub fn channels_spec(&self) -> &ChannelsSpec
pub fn filters_spec(&self) -> Option<&FiltersSpec>
pub fn services_spec(&self) -> Option<&ServiceActivatorsSpec>
pub fn http_inbound_adapters_spec(&self) -> Option<&HttpInboundAdaptersSpec>
pub fn http_outbound_adapters_spec(&self) -> Option<&HttpOutboundAdaptersSpec>
pub fn into_channels_spec(self) -> ChannelsSpec
pub fn into_filters_spec(self) -> Option<FiltersSpec>
pub fn into_services_spec(self) -> Option<ServiceActivatorsSpec>
pub fn into_http_inbound_adapters_spec(self) -> Option<HttpInboundAdaptersSpec>
pub fn into_http_outbound_adapters_spec( self, ) -> Option<HttpOutboundAdaptersSpec>
Trait Implementations§
Source§impl Clone for AlloraSpec
impl Clone for AlloraSpec
Source§fn clone(&self) -> AlloraSpec
fn clone(&self) -> AlloraSpec
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 AlloraSpec
impl RefUnwindSafe for AlloraSpec
impl Send for AlloraSpec
impl Sync for AlloraSpec
impl Unpin for AlloraSpec
impl UnwindSafe for AlloraSpec
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