pub struct EffectiveEntry {
pub id: String,
pub path: String,
pub depth: usize,
pub order: i64,
pub composition: String,
pub reason: String,
pub local: bool,
}Expand description
One contract in a directory’s effective chain, in the order it is applied.
Fields§
§id: StringThe document’s identity.
path: StringThe document’s path.
depth: usizeDepth below the layer root; less is less specific and applies first.
order: i64The declared order, the second sort key.
composition: Stringextend, replace or final.
reason: StringWhy it applies to this directory, in words.
local: boolTrue for the directory’s own document, false for one it inherits.
Trait Implementations§
Source§impl Clone for EffectiveEntry
impl Clone for EffectiveEntry
Source§fn clone(&self) -> EffectiveEntry
fn clone(&self) -> EffectiveEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EffectiveEntry
impl Debug for EffectiveEntry
Source§impl<'de> Deserialize<'de> for EffectiveEntry
impl<'de> Deserialize<'de> for EffectiveEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for EffectiveEntry
impl JsonSchema for EffectiveEntry
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for EffectiveEntry
impl RefUnwindSafe for EffectiveEntry
impl Send for EffectiveEntry
impl Sync for EffectiveEntry
impl Unpin for EffectiveEntry
impl UnsafeUnpin for EffectiveEntry
impl UnwindSafe for EffectiveEntry
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