pub struct StaticSite {
pub site: String,
pub causes: Vec<Cause>,
pub party: Party,
}Expand description
A policy site that can produce an action (rule:<id>, handler:<n>).
Fields§
§site: String§causes: Vec<Cause>§party: PartyTrait Implementations§
Source§impl Clone for StaticSite
impl Clone for StaticSite
Source§impl Debug for StaticSite
impl Debug for StaticSite
Source§impl<'de> Deserialize<'de> for StaticSite
impl<'de> Deserialize<'de> for StaticSite
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 StaticSite
Source§impl JsonSchema for StaticSite
impl JsonSchema for StaticSite
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 StaticSite
impl PartialEq for StaticSite
Source§impl Serialize for StaticSite
impl Serialize for StaticSite
impl StructuralPartialEq for StaticSite
Auto Trait Implementations§
impl Freeze for StaticSite
impl RefUnwindSafe for StaticSite
impl Send for StaticSite
impl Sync for StaticSite
impl Unpin for StaticSite
impl UnsafeUnpin for StaticSite
impl UnwindSafe for StaticSite
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