UANodeSetChanges

Struct UANodeSetChanges 

Source
pub struct UANodeSetChanges {
    pub namespace_uris: Option<UriTable>,
    pub server_uris: Option<UriTable>,
    pub aliases: Option<AliasTable>,
    pub nodes_to_add: Option<NodesToAdd>,
    pub references_to_add: Option<ReferencesToChange>,
    pub nodes_to_delete: Option<NodesToDelete>,
    pub references_to_delete: Option<ReferencesToChange>,
    pub last_modified: Option<DateTime<Utc>>,
    pub transaction_id: String,
    pub accept_all_or_nothing: bool,
}
Expand description

Differential update of a node set.

Fields§

§namespace_uris: Option<UriTable>

List of namespace URIs in this node set.

§server_uris: Option<UriTable>

List of server URIs used in this node set.

§aliases: Option<AliasTable>

List of aliases available in this node set.

§nodes_to_add: Option<NodesToAdd>

New nodes.

§references_to_add: Option<ReferencesToChange>

New references.

§nodes_to_delete: Option<NodesToDelete>

Nodes that should be deleted.

§references_to_delete: Option<ReferencesToChange>

References that should be deleted.

§last_modified: Option<DateTime<Utc>>

Last modified time.

§transaction_id: String

Change transaction ID. Used to identify this change.

§accept_all_or_nothing: bool

If true, applications loading this should either accept all nodes in the change set, or fail completely, applying no changes at all.

Trait Implementations§

Source§

impl Debug for UANodeSetChanges

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'input> XmlLoad<'input> for UANodeSetChanges

Source§

fn load(node: &Node<'_, 'input>) -> Result<Self, XmlError>

Load Self from an XML node.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.