pub struct FormEditCommand {
pub base_revision: u64,
pub block_id: BlockId,
pub client_block_fingerprint: Option<BlockFingerprint>,
pub edit: FormBlockEdit,
}Expand description
A semantic edit command from the UI (RFC-018 §7). Carries no authoritative byte ranges by design.
Fields§
§base_revision: u64§block_id: BlockId§client_block_fingerprint: Option<BlockFingerprint>Optional client-side fingerprint for extra validation/diagnostics.
edit: FormBlockEditTrait Implementations§
Source§impl Clone for FormEditCommand
impl Clone for FormEditCommand
Source§fn clone(&self) -> FormEditCommand
fn clone(&self) -> FormEditCommand
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 FormEditCommand
impl Debug for FormEditCommand
Source§impl<'de> Deserialize<'de> for FormEditCommand
impl<'de> Deserialize<'de> for FormEditCommand
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 FormEditCommand
Source§impl PartialEq for FormEditCommand
impl PartialEq for FormEditCommand
Source§fn eq(&self, other: &FormEditCommand) -> bool
fn eq(&self, other: &FormEditCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FormEditCommand
impl Serialize for FormEditCommand
impl StructuralPartialEq for FormEditCommand
Auto Trait Implementations§
impl Freeze for FormEditCommand
impl RefUnwindSafe for FormEditCommand
impl Send for FormEditCommand
impl Sync for FormEditCommand
impl Unpin for FormEditCommand
impl UnsafeUnpin for FormEditCommand
impl UnwindSafe for FormEditCommand
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