pub struct SetLocalResult {
pub status: String,
pub function: String,
pub storage: String,
pub name: String,
pub type_: String,
pub previous_name: Option<String>,
pub previous_type: Option<String>,
pub durable: bool,
}Expand description
Result of the set_local write tool (M2d §4.1). status ∈ set | renamed | retyped |
already_applied (a combined type+name change ⇒ set). storage is the canonical handle that was
edited (retry-stable for stack locals); name/type are the NEW current values. previous_name is
present only when new_name was given AND the name actually changed; previous_type only when
new_type was given AND the type actually changed (panel R1-Seat2). function echoes the function
name. type_ serializes as the wire key type.
Fields§
§status: String§function: String§storage: String§name: String§type_: String§previous_name: Option<String>§previous_type: Option<String>§durable: boolTrait Implementations§
Source§impl Clone for SetLocalResult
impl Clone for SetLocalResult
Source§fn clone(&self) -> SetLocalResult
fn clone(&self) -> SetLocalResult
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 SetLocalResult
impl Debug for SetLocalResult
Source§impl<'de> Deserialize<'de> for SetLocalResult
impl<'de> Deserialize<'de> for SetLocalResult
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 SetLocalResult
Source§impl PartialEq for SetLocalResult
impl PartialEq for SetLocalResult
Source§impl Serialize for SetLocalResult
impl Serialize for SetLocalResult
impl StructuralPartialEq for SetLocalResult
Auto Trait Implementations§
impl Freeze for SetLocalResult
impl RefUnwindSafe for SetLocalResult
impl Send for SetLocalResult
impl Sync for SetLocalResult
impl Unpin for SetLocalResult
impl UnsafeUnpin for SetLocalResult
impl UnwindSafe for SetLocalResult
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