pub struct RepoManagementArgs {
pub name: Option<String>,
pub delete: bool,
pub update: bool,
pub force_rebuild: bool,
}Fields§
§name: Option<String>org/repo to clone and activate. Omit for list mode.
delete: boolDelete the repo + inventory entry instead of activating.
update: boolRefresh the active repo (no name required).
force_rebuild: boolBypass the auto-rebuild gate: re-run the post-activate hook even when the HEAD SHA matches the last successful build. Useful after upgrading the builder code itself.
Trait Implementations§
Source§impl Debug for RepoManagementArgs
impl Debug for RepoManagementArgs
Source§impl Default for RepoManagementArgs
impl Default for RepoManagementArgs
Source§fn default() -> RepoManagementArgs
fn default() -> RepoManagementArgs
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RepoManagementArgs
impl<'de> Deserialize<'de> for RepoManagementArgs
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 JsonSchema for RepoManagementArgs
impl JsonSchema for RepoManagementArgs
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 moreAuto Trait Implementations§
impl Freeze for RepoManagementArgs
impl RefUnwindSafe for RepoManagementArgs
impl Send for RepoManagementArgs
impl Sync for RepoManagementArgs
impl Unpin for RepoManagementArgs
impl UnsafeUnpin for RepoManagementArgs
impl UnwindSafe for RepoManagementArgs
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