pub enum BlockStateV1 {
Blocked,
}Expand description
A single, always-terminal variant today (paralleling FileActionV1:: Changed) – kept as its own enum rather than a bare unit field so a
future, more granular block state has somewhere to land without another
wire shape change.
Variants§
Blocked
Trait Implementations§
Source§impl Clone for BlockStateV1
impl Clone for BlockStateV1
impl Copy for BlockStateV1
Source§impl Debug for BlockStateV1
impl Debug for BlockStateV1
Source§impl<'de> Deserialize<'de> for BlockStateV1
impl<'de> Deserialize<'de> for BlockStateV1
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 BlockStateV1
Source§impl PartialEq for BlockStateV1
impl PartialEq for BlockStateV1
Source§impl Serialize for BlockStateV1
impl Serialize for BlockStateV1
impl StructuralPartialEq for BlockStateV1
Auto Trait Implementations§
impl Freeze for BlockStateV1
impl RefUnwindSafe for BlockStateV1
impl Send for BlockStateV1
impl Sync for BlockStateV1
impl Unpin for BlockStateV1
impl UnsafeUnpin for BlockStateV1
impl UnwindSafe for BlockStateV1
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