[−][src]Struct orientdb_client::types::ODocument
Methods
impl ODocument
[src]
pub fn builder() -> DocumentBuilder
[src]
pub fn new<S>(class_name: S) -> ODocument where
S: Into<String>,
[src]
S: Into<String>,
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]
KT: Into<String>,
T: IntoOValue,
pub fn get_checked<T>(&self, name: &str) -> Result<T, OrientCommonError> where
T: FromOValue,
[src]
T: FromOValue,
pub fn get<T>(&self, name: &str) -> T where
T: FromOValue,
[src]
T: FromOValue,
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]
T: Into<String>,
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]
ⓘImportant traits for Iter<'a, K, V>
pub fn len(&self) -> usize
[src]
pub fn is_empty(&self) -> bool
[src]
Trait Implementations
impl IntoOValue for ODocument
[src]
fn into_ovalue(&self) -> OValue
[src]
impl FromOValue for ODocument
[src]
fn from_value(ty: &OValue) -> Result<Self, OrientCommonError> where
Self: Sized,
[src]
Self: Sized,
impl Clone for ODocument
[src]
fn clone(&self) -> 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
impl Sync for ODocument
impl Send for ODocument
impl Unpin for ODocument
impl RefUnwindSafe for ODocument
impl UnwindSafe for ODocument
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,