pub struct ValidatorSchemaFragment(/* private fields */);
Implementations§
source§impl ValidatorSchemaFragment
impl ValidatorSchemaFragment
pub fn from_namespaces( namespaces: impl IntoIterator<Item = ValidatorNamespaceDef> ) -> Self
pub fn from_schema_fragment( fragment: SchemaFragment, action_behavior: ActionBehavior ) -> Result<Self>
sourcepub fn namespaces(&self) -> impl Iterator<Item = &Option<Name>>
pub fn namespaces(&self) -> impl Iterator<Item = &Option<Name>>
Access the Name
s for the namespaces in this fragment.
Trait Implementations§
source§impl Debug for ValidatorSchemaFragment
impl Debug for ValidatorSchemaFragment
source§impl TryInto<ValidatorSchemaFragment> for SchemaFragment
impl TryInto<ValidatorSchemaFragment> for SchemaFragment
§type Error = SchemaError
type Error = SchemaError
The type returned in the event of a conversion error.
source§fn try_into(self) -> Result<ValidatorSchemaFragment>
fn try_into(self) -> Result<ValidatorSchemaFragment>
Performs the conversion.
Auto Trait Implementations§
impl !RefUnwindSafe for ValidatorSchemaFragment
impl !Send for ValidatorSchemaFragment
impl !Sync for ValidatorSchemaFragment
impl Unpin for ValidatorSchemaFragment
impl !UnwindSafe for ValidatorSchemaFragment
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