pub fn modify_vertex_if_match<IfMatch, Upd>(
        &self,
        key: DocumentKey,
        update: Upd,
        if_match: IfMatch,
        keep_none: Option<bool>,
    ) -> Result<UpdatedDocumentHeader>
    where
        IfMatch: Into<String>,
        Upd: 'static + Serialize + Debug,
    {
        let vertex_id = DocumentId::new(self.name(), key.unwrap());
        let modify_vertex = if let Some(keep_none) = keep_none {
            ModifyVertex::new(self.graph_name(), vertex_id, update).with_keep_none(keep_none)
        } else {
            ModifyVertex::new(self.graph_name(), vertex_id, update)
        };
        self.execute(modify_vertex.with_if_match(if_match))
    }
/// Partially modifies an existing vertex if the match condition is met.
///
/// The update argument must contain a document with the attributes
/// to patch (the patch document). All attributes from the patch document
/// will be added to the existing vertex if they do not exist yet or
/// overwritten in the existing vertex if they already exist there.
///
/// # Arguments
///
/// * `key` : The key of the vertex to be modified
/// * `update` : A document with the content to be modified (patch document)
/// * `if_match` : The match condition that must be met to modify a vertex
/// * `keep_none` : Whether values set to `None` shall be stored. By default
///   the attribute is not removed from the document.
Partially modifies an existing vertex if the match condition is met.
The update argument must contain a document with the attributes
to patch (the patch document). All attributes from the patch document
will be added to the existing vertex if they do not exist yet or
overwritten in the existing vertex if they already exist there.
Partially modifies an existing vertex if the match condition is met . The update argument must contain a document with the attributes to patch ( the patch document ) . All attributes from the patch document will be added to the existing vertex if they do not exist yet or overwritten in the existing vertex if they already exist there .
pub fn modify_vertex_if_match<IfMatch, Upd>(
        &self,
        key: DocumentKey,
        update: Upd,
        if_match: IfMatch,
        keep_none: Option<bool>,
    ) -> Result<UpdatedDocumentHeader>
    where
        IfMatch: Into<String>,
        Upd: 'static + Serialize + Debug,
    {
        let vertex_id = DocumentId::new(self.name(), key.unwrap());
        let modify_vertex = if let Some(keep_none) = keep_none {
            ModifyVertex::new(self.graph_name(), vertex_id, update).with_keep_none(keep_none)
        } else {
            ModifyVertex::new(self.graph_name(), vertex_id, update)
        };
        self.execute(modify_vertex.with_if_match(if_match))
    }
pub fn modify_vertex_if_match < IfMatch , Upd > ( & self , key : DocumentKey , update : Upd , if_match : IfMatch , keep_none : Option < bool > , ) -> Result < UpdatedDocumentHeader > where IfMatch : Into < String > , Upd : ' static + Serialize + Debug , { let vertex_id = DocumentId :: new ( self . name ( ) , key . unwrap ( ) ) ; let modify_vertex = if let Some ( keep_none ) = keep_none { ModifyVertex :: new ( self . graph_name ( ) , vertex_id , update ) . with_keep_none ( keep_none ) } else { ModifyVertex :: new ( self . graph_name ( ) , vertex_id , update ) } ; self . execute ( modify_vertex . with_if_match ( if_match ) ) }
Partially modifies an existing vertex if the match condition is met.
Partially modifies an existing vertex if the match condition is met .
&self
key
DocumentKey
update
Upd
if_match
IfMatch
keep_none
Option<bool>
&self
key
DocumentKey
update
Upd
if_match
IfMatch
keep_none
Option<bool>