pub struct StaticBranch {
pub classes: Vec<ProvenanceClass>,
pub consequence: String,
pub causes: Vec<Cause>,
pub party: Party,
}Fields§
§classes: Vec<ProvenanceClass>§consequence: String§causes: Vec<Cause>§party: PartyTrait Implementations§
Source§impl Clone for StaticBranch
impl Clone for StaticBranch
Source§impl Debug for StaticBranch
impl Debug for StaticBranch
Source§impl<'de> Deserialize<'de> for StaticBranch
impl<'de> Deserialize<'de> for StaticBranch
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
impl Eq for StaticBranch
Source§impl JsonSchema for StaticBranch
impl JsonSchema for StaticBranch
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 moreSource§impl PartialEq for StaticBranch
impl PartialEq for StaticBranch
Source§impl Serialize for StaticBranch
impl Serialize for StaticBranch
impl StructuralPartialEq for StaticBranch
Auto Trait Implementations§
impl Freeze for StaticBranch
impl RefUnwindSafe for StaticBranch
impl Send for StaticBranch
impl Sync for StaticBranch
impl Unpin for StaticBranch
impl UnsafeUnpin for StaticBranch
impl UnwindSafe for StaticBranch
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