pub struct Package {Show 16 fields
pub id: Option<Id>,
pub name: Option<Uri>,
pub package_version: Option<String>,
pub version: Decimal,
pub input_type_annotations: Option<InputTypeAnnotations>,
pub declared_modes: Option<bool>,
pub default_mode: Option<DefaultMode>,
pub default_validation: Option<DefaultValidation>,
pub default_collation: Option<Vec<Uri>>,
pub extension_element_prefixes: Option<Vec<Prefix>>,
pub exclude_result_prefixes: Option<Vec<Prefix>>,
pub expand_text: Option<bool>,
pub use_when: Option<Expression>,
pub xpath_default_namespace: Option<Uri>,
pub content: Vec<PackageContent>,
pub span: Span,
}Fields§
§id: Option<Id>§name: Option<Uri>§package_version: Option<String>§version: Decimal§input_type_annotations: Option<InputTypeAnnotations>§declared_modes: Option<bool>§default_mode: Option<DefaultMode>§default_validation: Option<DefaultValidation>§default_collation: Option<Vec<Uri>>§extension_element_prefixes: Option<Vec<Prefix>>§exclude_result_prefixes: Option<Vec<Prefix>>§expand_text: Option<bool>§use_when: Option<Expression>§xpath_default_namespace: Option<Uri>§content: Vec<PackageContent>§span: SpanTrait Implementations§
impl Eq for Package
impl StructuralPartialEq for Package
Auto Trait Implementations§
impl Freeze for Package
impl RefUnwindSafe for Package
impl Send for Package
impl Sync for Package
impl Unpin for Package
impl UnwindSafe for Package
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more