pub enum BlockField {
WithId {
value: Value,
id: Option<Uid>,
},
NoId {
value: Value,
},
}Expand description
Field of the block
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for BlockField
impl Clone for BlockField
Source§fn clone(&self) -> BlockField
fn clone(&self) -> BlockField
Returns a duplicate of the value. Read more
1.0.0 · 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 BlockField
impl Debug for BlockField
Source§impl<'de> Deserialize<'de> for BlockField
impl<'de> Deserialize<'de> for BlockField
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
Source§impl PartialEq for BlockField
impl PartialEq for BlockField
Source§impl Serialize for BlockField
impl Serialize for BlockField
impl StructuralPartialEq for BlockField
Auto Trait Implementations§
impl Freeze for BlockField
impl RefUnwindSafe for BlockField
impl Send for BlockField
impl Sync for BlockField
impl Unpin for BlockField
impl UnwindSafe for BlockField
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