pub struct SetNodeRequest {
pub ref: u32,
pub resource_type_field: u32,
pub name: String,
pub parent: Option<String>,
pub order_by: Option<u32>,
pub returnexisting: Option<bool>,
}Fields§
§ref: u32The ID of an existing node to update, or 0 to create a new one.
resource_type_field: u32The ID of the resource type field this node belongs to.
name: StringThe name of the node.
parent: Option<String>The ID of the parent node, if this is a child node.
order_by: Option<u32>Position used to order this node relative to siblings.
returnexisting: Option<bool>If set, returns the existing node instead of creating a duplicate.
Implementations§
Trait Implementations§
Source§impl Clone for SetNodeRequest
impl Clone for SetNodeRequest
Source§fn clone(&self) -> SetNodeRequest
fn clone(&self) -> SetNodeRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 SetNodeRequest
impl Debug for SetNodeRequest
Source§impl PartialEq for SetNodeRequest
impl PartialEq for SetNodeRequest
Source§impl Serialize for SetNodeRequest
impl Serialize for SetNodeRequest
impl StructuralPartialEq for SetNodeRequest
Auto Trait Implementations§
impl Freeze for SetNodeRequest
impl RefUnwindSafe for SetNodeRequest
impl Send for SetNodeRequest
impl Sync for SetNodeRequest
impl Unpin for SetNodeRequest
impl UnsafeUnpin for SetNodeRequest
impl UnwindSafe for SetNodeRequest
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