pub struct CreateSymlink {
pub path: String,
pub node_id: NodeId,
pub target: String,
}Expand description
Symlink creation payload (FDD-03 §9.3). Note tag order: path (1), then
node_id (2), then target (3).
Fields§
§path: StringRepo-relative UTF-8 path (repo_path).
node_id: NodeIdNode identity (bytes, 32).
target: StringSymlink target (utf8_string). Static escape/four-boundary validation
(FDD-04 §5.4a / §13.1) is a later increment; this reconciles identity bytes.
Implementations§
Trait Implementations§
Source§impl CanonicalEncode for CreateSymlink
impl CanonicalEncode for CreateSymlink
Source§fn encode_canonical(&self, writer: &mut CanonicalWriter) -> Result<()>
fn encode_canonical(&self, writer: &mut CanonicalWriter) -> Result<()>
Encode this value into canonical bytes.
Source§impl Clone for CreateSymlink
impl Clone for CreateSymlink
Source§fn clone(&self) -> CreateSymlink
fn clone(&self) -> CreateSymlink
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 CreateSymlink
impl Debug for CreateSymlink
impl Eq for CreateSymlink
Source§impl PartialEq for CreateSymlink
impl PartialEq for CreateSymlink
Source§fn eq(&self, other: &CreateSymlink) -> bool
fn eq(&self, other: &CreateSymlink) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateSymlink
Auto Trait Implementations§
impl Freeze for CreateSymlink
impl RefUnwindSafe for CreateSymlink
impl Send for CreateSymlink
impl Sync for CreateSymlink
impl Unpin for CreateSymlink
impl UnsafeUnpin for CreateSymlink
impl UnwindSafe for CreateSymlink
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