pub struct DispatchEntry {
pub handler: Arc<dyn SoapHandler>,
pub auth_required: bool,
pub input_type: Option<QName>,
pub validation_type: Option<QName>,
}Expand description
A single routing entry — holds the handler plus metadata needed by the pipeline.
Fields§
§handler: Arc<dyn SoapHandler>§auth_required: boolWhether this operation requires authentication (controlled by auth_bypass set at startup).
input_type: Option<QName>QName used for routing (body first-child element QName for document/literal, synthesized wrapper QName for RPC). This is the key used for dispatch lookup.
validation_type: Option<QName>QName to look up in the TypeRegistry for structural XSD validation.
For RPC style or inline-element ops, this equals input_type.
For document/literal ops whose message-part element has a named type= attribute,
this is the named type QName rather than the element QName.
None means genuinely no schema is expected (empty/omitted input) — validation passes.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for DispatchEntry
impl !UnwindSafe for DispatchEntry
impl Freeze for DispatchEntry
impl Send for DispatchEntry
impl Sync for DispatchEntry
impl Unpin for DispatchEntry
impl UnsafeUnpin for DispatchEntry
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