pub struct UpdateProtocol {
pub revision_shape: BoundedText<512>,
}Expand description
Generated from /home/runner/work/perspt/perspt/crates/perspt-core/prompts/graph_plan/20_update_protocol.md; do not edit.
Fields§
§revision_shape: BoundedText<512>Implementations§
Trait Implementations§
Source§impl Clone for UpdateProtocol
impl Clone for UpdateProtocol
Source§fn clone(&self) -> UpdateProtocol
fn clone(&self) -> UpdateProtocol
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 UpdateProtocol
impl Debug for UpdateProtocol
Source§impl PromptSection for UpdateProtocol
impl PromptSection for UpdateProtocol
const ID: &'static str = "graph_plan/update_protocol"
const VERSION: u32 = 1
const CONTENT_HASH: &'static str = "sha256:688f0a31eb251b0dfde1a4cc1ecbc8e1587b1974bc47b16907b67d1ce5b826f3"
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 UpdateProtocol
impl RefUnwindSafe for UpdateProtocol
impl Send for UpdateProtocol
impl Sync for UpdateProtocol
impl Unpin for UpdateProtocol
impl UnsafeUnpin for UpdateProtocol
impl UnwindSafe for UpdateProtocol
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.