pub struct SetPrototypeResult {
pub status: String,
pub address: String,
pub name: String,
pub signature: String,
pub previous_signature: Option<String>,
pub durable: bool,
}Expand description
Result of the set_prototype write tool (M2c §3). status is "set" | "already_applied";
signature is the NEW canonical DB prototype string; previous_signature is present only when a
prior signature was overwritten. address (the function entry point) is canonicalized by the rmcp
handler. name echoes the function name.
Fields§
§status: String§address: String§name: String§signature: String§previous_signature: Option<String>§durable: boolTrait Implementations§
Source§impl Clone for SetPrototypeResult
impl Clone for SetPrototypeResult
Source§fn clone(&self) -> SetPrototypeResult
fn clone(&self) -> SetPrototypeResult
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 SetPrototypeResult
impl Debug for SetPrototypeResult
Source§impl<'de> Deserialize<'de> for SetPrototypeResult
impl<'de> Deserialize<'de> for SetPrototypeResult
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
impl Eq for SetPrototypeResult
Source§impl PartialEq for SetPrototypeResult
impl PartialEq for SetPrototypeResult
Source§impl Serialize for SetPrototypeResult
impl Serialize for SetPrototypeResult
impl StructuralPartialEq for SetPrototypeResult
Auto Trait Implementations§
impl Freeze for SetPrototypeResult
impl RefUnwindSafe for SetPrototypeResult
impl Send for SetPrototypeResult
impl Sync for SetPrototypeResult
impl Unpin for SetPrototypeResult
impl UnsafeUnpin for SetPrototypeResult
impl UnwindSafe for SetPrototypeResult
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