pub struct SkillUninstallResult {
pub skill_id: String,
pub skill_removed: bool,
pub sqlite_removed: bool,
pub lancedb_removed: bool,
pub sqlite_retained: bool,
pub lancedb_retained: bool,
pub message: String,
}Expand description
Structured uninstall result that reports whether code and databases were removed or retained. 结构化卸载结果,用于报告代码与数据库是被删除还是被保留。
Fields§
§skill_id: StringStable skill identifier targeted by the current uninstall action. 当前卸载动作目标的稳定技能标识符。
skill_removed: boolWhether the skill package directory itself was removed. skill 包目录本身是否已经被删除。
sqlite_removed: boolWhether the SQLite database directory was removed explicitly. SQLite 数据目录是否已被显式删除。
lancedb_removed: boolWhether the LanceDB database directory was removed explicitly. LanceDB 数据目录是否已被显式删除。
sqlite_retained: boolWhether the SQLite database directory was intentionally retained. SQLite 数据目录是否被有意保留。
lancedb_retained: boolWhether the LanceDB database directory was intentionally retained. LanceDB 数据目录是否被有意保留。
message: StringHuman-readable explanation of the uninstall result. 当前卸载结果的人类可读说明文本。
Trait Implementations§
Source§impl Clone for SkillUninstallResult
impl Clone for SkillUninstallResult
Source§fn clone(&self) -> SkillUninstallResult
fn clone(&self) -> SkillUninstallResult
Returns a duplicate of the value. Read more
1.0.0 · 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 SkillUninstallResult
impl Debug for SkillUninstallResult
Source§impl<'de> Deserialize<'de> for SkillUninstallResult
impl<'de> Deserialize<'de> for SkillUninstallResult
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 SkillUninstallResult
impl PartialEq for SkillUninstallResult
Source§impl Serialize for SkillUninstallResult
impl Serialize for SkillUninstallResult
impl Eq for SkillUninstallResult
impl StructuralPartialEq for SkillUninstallResult
Auto Trait Implementations§
impl Freeze for SkillUninstallResult
impl RefUnwindSafe for SkillUninstallResult
impl Send for SkillUninstallResult
impl Sync for SkillUninstallResult
impl Unpin for SkillUninstallResult
impl UnsafeUnpin for SkillUninstallResult
impl UnwindSafe for SkillUninstallResult
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request