pub enum SiteChange {
CreateSite(SiteSpec),
BindBuilder {
agent: String,
},
UnbindBuilder,
CreateTemplate(TemplateProposal),
UpdateTemplate(TemplateProposal),
RetireTemplate,
Complete,
}Expand description
Deliberate construction events; no payload becomes executable code.
Variants§
CreateSite(SiteSpec)
A contracts-first site, initially without a builder or template.
BindBuilder
The named active Lys agent becomes its sole builder.
UnbindBuilder
Revokes both recorded builder grants.
CreateTemplate(TemplateProposal)
Records the program exactly approved by the person.
UpdateTemplate(TemplateProposal)
Updates an existing template without changing read-only configuration.
RetireTemplate
Retires a live template without removing its history.
Complete
Removes the trial serve grant and leaves the site asleep.
Implementations§
Trait Implementations§
Source§impl Clone for SiteChange
impl Clone for SiteChange
Source§impl<'de> Deserialize<'de> for SiteChange
impl<'de> Deserialize<'de> for SiteChange
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
Auto Trait Implementations§
impl Freeze for SiteChange
impl RefUnwindSafe for SiteChange
impl Send for SiteChange
impl Sync for SiteChange
impl Unpin for SiteChange
impl UnsafeUnpin for SiteChange
impl UnwindSafe for SiteChange
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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