#[non_exhaustive]pub struct Inheritance {
pub licence: Option<String>,
pub reason: LicenceReason,
}Expand description
The result of licence inheritance (8.5): the licence of the receipt to be issued, or a
refusal (licence None: the mesh answers unlicensed and signs nothing), with the reason.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.licence: Option<String>The result’s licence; None when the mesh may not compute the cell.
reason: LicenceReasonWhy: no_inputs, open or declared with a licence; share_alike_conflict,
restricted_conflict, not_declared or declaration_not_open without.
Implementations§
Trait Implementations§
Source§impl Clone for Inheritance
impl Clone for Inheritance
Source§impl Debug for Inheritance
impl Debug for Inheritance
impl Eq for Inheritance
Source§impl Hash for Inheritance
impl Hash for Inheritance
Source§impl PartialEq for Inheritance
impl PartialEq for Inheritance
impl StructuralPartialEq for Inheritance
Auto Trait Implementations§
impl Freeze for Inheritance
impl RefUnwindSafe for Inheritance
impl Send for Inheritance
impl Sync for Inheritance
impl Unpin for Inheritance
impl UnsafeUnpin for Inheritance
impl UnwindSafe for Inheritance
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