pub enum GeneratedContentKind {
Null,
Bool(bool),
Number(f64),
String(String),
Array(Vec<GeneratedContent>),
Structure {
properties: BTreeMap<String, GeneratedContent>,
ordered_keys: Vec<String>,
},
}Expand description
Rust analogue of GeneratedContent.Kind.
Variants§
Trait Implementations§
Source§impl Clone for GeneratedContentKind
impl Clone for GeneratedContentKind
Source§fn clone(&self) -> GeneratedContentKind
fn clone(&self) -> GeneratedContentKind
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 GeneratedContentKind
impl Debug for GeneratedContentKind
Source§impl PartialEq for GeneratedContentKind
impl PartialEq for GeneratedContentKind
Source§fn eq(&self, other: &GeneratedContentKind) -> bool
fn eq(&self, other: &GeneratedContentKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GeneratedContentKind
Auto Trait Implementations§
impl Freeze for GeneratedContentKind
impl RefUnwindSafe for GeneratedContentKind
impl Send for GeneratedContentKind
impl Sync for GeneratedContentKind
impl Unpin for GeneratedContentKind
impl UnsafeUnpin for GeneratedContentKind
impl UnwindSafe for GeneratedContentKind
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