pub struct Governance {}Expand description
Generated from /home/runner/work/perspt/perspt/crates/perspt-core/prompts/session_bootstrap/20_governance.md; do not edit.
Implementations§
Trait Implementations§
Source§impl Clone for Governance
impl Clone for Governance
Source§fn clone(&self) -> Governance
fn clone(&self) -> Governance
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 Governance
impl Debug for Governance
Source§impl PromptSection for Governance
impl PromptSection for Governance
const ID: &'static str = "session_bootstrap/governance"
const VERSION: u32 = 1
const CONTENT_HASH: &'static str = "sha256:52ed2736be96d5029f559e21f0d301a1582e5ff28bf751537c15b5048564eb50"
const REQUIRED: bool = true
const PRIORITY: u16 = 0
Source§fn render(&self) -> Result<RenderedSection>
fn render(&self) -> Result<RenderedSection>
Deterministic rendering of this section with its typed values.
Auto Trait Implementations§
impl Freeze for Governance
impl RefUnwindSafe for Governance
impl Send for Governance
impl Sync for Governance
impl Unpin for Governance
impl UnsafeUnpin for Governance
impl UnwindSafe for Governance
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.