pub struct OccurrenceUsage {
pub is_individual: bool,
pub portion_kind: Option<String>,
pub name: String,
pub type_name: Option<String>,
pub body: OccurrenceUsageBody,
}Expand description
Occurrence usage: occurrence name (: type)? body, with optional individual/portion modifiers.
Fields§
§is_individual: bool§portion_kind: Option<String>§name: String§type_name: Option<String>§body: OccurrenceUsageBodyTrait Implementations§
Source§impl Clone for OccurrenceUsage
impl Clone for OccurrenceUsage
Source§fn clone(&self) -> OccurrenceUsage
fn clone(&self) -> OccurrenceUsage
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 moreSource§impl Debug for OccurrenceUsage
impl Debug for OccurrenceUsage
Source§impl PartialEq for OccurrenceUsage
impl PartialEq for OccurrenceUsage
impl Eq for OccurrenceUsage
impl StructuralPartialEq for OccurrenceUsage
Auto Trait Implementations§
impl Freeze for OccurrenceUsage
impl RefUnwindSafe for OccurrenceUsage
impl Send for OccurrenceUsage
impl Sync for OccurrenceUsage
impl Unpin for OccurrenceUsage
impl UnsafeUnpin for OccurrenceUsage
impl UnwindSafe for OccurrenceUsage
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