pub struct ItemBuilder<'b>(_, _);
Expand description

Adds an item with content and structure to a tree builder.

Implementations

Sets content info for an item that hasn’t been uploaded or merged yet. We’ll try to dedupe local items with content info to remotely changed items with similar contents and different GUIDs.

Records a parent_guid from the item’s parent’s children. See ParentBuilder::by_children.

Records a parent_guid from the item’s parentid. See ParentBuilder::by_parent_guid.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.