pub struct CoderProject {
pub slug: String,
pub display_name: String,
pub kind: ProjectKind,
pub repo_path: PathBuf,
pub created_at: u64,
pub existing_agent_id: Option<String>,
pub builder_draft: Option<AgentBuilderDraft>,
}Expand description
A CAR-managed project. The git repo IS repo_path; this metadata lives
beside it in project.json (gitignored).
Fields§
§slug: String§display_name: String§kind: ProjectKind§repo_path: PathBuf§created_at: u64§existing_agent_id: Option<String>When present, an Agent-project build replaces this registered agent instead of deriving a new id from the project slug.
builder_draft: Option<AgentBuilderDraft>Builder input staged with the project until the generated spec is approved and registered. The registered spec remains authoritative.
Trait Implementations§
Source§impl Clone for CoderProject
impl Clone for CoderProject
Source§impl Debug for CoderProject
impl Debug for CoderProject
Source§impl<'de> Deserialize<'de> for CoderProject
impl<'de> Deserialize<'de> for CoderProject
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
Source§impl PartialEq for CoderProject
impl PartialEq for CoderProject
Source§impl Serialize for CoderProject
impl Serialize for CoderProject
impl StructuralPartialEq for CoderProject
Auto Trait Implementations§
impl Freeze for CoderProject
impl RefUnwindSafe for CoderProject
impl Send for CoderProject
impl Sync for CoderProject
impl Unpin for CoderProject
impl UnsafeUnpin for CoderProject
impl UnwindSafe for CoderProject
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more