[][src]Struct orientdb_client::types::ODocument

pub struct ODocument { /* fields omitted */ }

Methods

impl ODocument[src]

pub fn builder() -> DocumentBuilder[src]

pub fn new<S>(class_name: S) -> ODocument where
    S: Into<String>, 
[src]

pub fn set_record_id(&mut self, record_id: ORecordID)[src]

pub fn set_version(&mut self, version: i32)[src]

pub fn empty() -> ODocument[src]

pub fn class_name(&self) -> &str[src]

pub fn set<KT, T>(&mut self, name: KT, value: T) where
    KT: Into<String>,
    T: IntoOValue
[src]

pub fn get_checked<T>(&self, name: &str) -> Result<T, OrientCommonError> where
    T: FromOValue
[src]

pub fn get<T>(&self, name: &str) -> T where
    T: FromOValue
[src]

pub fn get_raw(&self, name: &str) -> Option<&OValue>[src]

pub fn set_raw<T>(&mut self, name: T, value: OValue) where
    T: Into<String>, 
[src]

pub fn get_i32(&self, name: &str) -> Option<i32>[src]

pub fn get_str(&self, name: &str) -> Option<&str>[src]

pub fn get_bool(&self, name: &str) -> Option<bool>[src]

pub fn get_i8(&self, name: &str) -> Option<i8>[src]

Important traits for Iter<'a, K, V>
pub fn iter(&self) -> Iter<String, OValue>[src]

pub fn len(&self) -> usize[src]

pub fn is_empty(&self) -> bool[src]

Trait Implementations

impl IntoOValue for ODocument[src]

impl FromOValue for ODocument[src]

impl Clone for ODocument[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl PartialEq<ODocument> for ODocument[src]

impl Debug for ODocument[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]