pub struct CreateOp {
pub id: Id128,
pub namespace: Namespace,
pub target: CreateTarget,
}Expand description
Create a new entity or note. id is minted at stage time and is stable
across however long the change-set sits before it is applied.
Fields§
§id: Id128§namespace: Namespace§target: CreateTargetTrait Implementations§
Source§impl<'de> Deserialize<'de> for CreateOp
impl<'de> Deserialize<'de> for CreateOp
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 StructuralPartialEq for CreateOp
Auto Trait Implementations§
impl Freeze for CreateOp
impl RefUnwindSafe for CreateOp
impl Send for CreateOp
impl Sync for CreateOp
impl Unpin for CreateOp
impl UnsafeUnpin for CreateOp
impl UnwindSafe for CreateOp
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