Struct stencila_schema::Cord
source[−]pub struct Cord(pub String);
Expand description
A newtype derived from String
Defined primarily so that a customized Patchable
implementation
can be defined for strings where it is more appropriate to replace,
rather than diff the string.
Tuple Fields
0: String
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for Cord
impl UnwindSafe for Cord
Blanket Implementations
Mutably borrows from an owned value. Read more