pub struct SetDatatypeResult {
pub status: String,
pub address: String,
pub datatype: String,
pub previous_datatype: Option<String>,
pub length: i64,
pub durable: bool,
}Expand description
Result of the set_datatype write tool (M2b §3.2). status is "set" | "cleared" |
"already_applied"; datatype is the final resolved display name ("undefined" after a clear).
previous_datatype is present only when a prior type was replaced/cleared. address is
canonicalized by the rmcp handler.
Fields§
§status: String§address: String§datatype: String§previous_datatype: Option<String>§length: i64§durable: boolTrait Implementations§
Source§impl Clone for SetDatatypeResult
impl Clone for SetDatatypeResult
Source§fn clone(&self) -> SetDatatypeResult
fn clone(&self) -> SetDatatypeResult
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 SetDatatypeResult
impl Debug for SetDatatypeResult
Source§impl<'de> Deserialize<'de> for SetDatatypeResult
impl<'de> Deserialize<'de> for SetDatatypeResult
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 SetDatatypeResult
Source§impl PartialEq for SetDatatypeResult
impl PartialEq for SetDatatypeResult
Source§impl Serialize for SetDatatypeResult
impl Serialize for SetDatatypeResult
impl StructuralPartialEq for SetDatatypeResult
Auto Trait Implementations§
impl Freeze for SetDatatypeResult
impl RefUnwindSafe for SetDatatypeResult
impl Send for SetDatatypeResult
impl Sync for SetDatatypeResult
impl Unpin for SetDatatypeResult
impl UnsafeUnpin for SetDatatypeResult
impl UnwindSafe for SetDatatypeResult
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