[−][src]Struct dgraph_rs::protos::api::TxnContext
Fields
start_ts: u64
commit_ts: u64
aborted: bool
keys: RepeatedField<String>
preds: RepeatedField<String>
unknown_fields: UnknownFields
cached_size: CachedSize
Methods
impl TxnContext
[src]
pub fn new() -> TxnContext
[src]
pub fn get_start_ts(&self) -> u64
[src]
pub fn clear_start_ts(&mut self)
[src]
pub fn set_start_ts(&mut self, v: u64)
[src]
pub fn get_commit_ts(&self) -> u64
[src]
pub fn clear_commit_ts(&mut self)
[src]
pub fn set_commit_ts(&mut self, v: u64)
[src]
pub fn get_aborted(&self) -> bool
[src]
pub fn clear_aborted(&mut self)
[src]
pub fn set_aborted(&mut self, v: bool)
[src]
pub fn get_keys(&self) -> &[String]
[src]
pub fn clear_keys(&mut self)
[src]
pub fn set_keys(&mut self, v: RepeatedField<String>)
[src]
pub fn mut_keys(&mut self) -> &mut RepeatedField<String>
[src]
pub fn take_keys(&mut self) -> RepeatedField<String>
[src]
pub fn get_preds(&self) -> &[String]
[src]
pub fn clear_preds(&mut self)
[src]
pub fn set_preds(&mut self, v: RepeatedField<String>)
[src]
pub fn mut_preds(&mut self) -> &mut RepeatedField<String>
[src]
pub fn take_preds(&mut self) -> RepeatedField<String>
[src]
Trait Implementations
impl Clear for TxnContext
[src]
impl Clone for TxnContext
[src]
fn clone(&self) -> TxnContext
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for TxnContext
[src]
impl Default for TxnContext
[src]
fn default() -> TxnContext
[src]
impl<'a> Default for &'a TxnContext
[src]
fn default() -> &'a TxnContext
[src]
impl Message for TxnContext
[src]
fn is_initialized(&self) -> bool
[src]
fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>
[src]
fn compute_size(&self) -> u32
[src]
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
[src]
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32
[src]
fn get_unknown_fields(&self) -> &UnknownFields
[src]
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
[src]
fn as_any(&self) -> &dyn Any
[src]
fn as_any_mut(&mut self) -> &mut dyn Any
[src]
fn into_any(self: Box<Self>) -> Box<dyn Any>
[src]
fn descriptor(&self) -> &'static MessageDescriptor
[src]
fn new() -> TxnContext
[src]
fn descriptor_static() -> &'static MessageDescriptor
[src]
fn default_instance() -> &'static TxnContext
[src]
fn write_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>
[src]
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
[src]
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
[src]
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
[src]
fn check_initialized(&self) -> Result<(), ProtobufError>
[src]
fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>
[src]
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>
[src]
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
[src]
fn write_length_delimited_to_writer(
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
[src]
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
[src]
fn type_id(&self) -> TypeId
[src]
impl PartialEq<TxnContext> for TxnContext
[src]
fn eq(&self, other: &TxnContext) -> bool
[src]
fn ne(&self, other: &TxnContext) -> bool
[src]
impl ProtobufValue for TxnContext
[src]
fn as_ref(&self) -> ProtobufValueRef
[src]
fn as_any(&self) -> &(dyn Any + 'static)
[src]
fn is_non_zero(&self) -> bool
[src]
fn as_ref_copy(&self) -> ProtobufValueRef<'static>
[src]
impl StructuralPartialEq for TxnContext
[src]
Auto Trait Implementations
impl RefUnwindSafe for TxnContext
impl Send for TxnContext
impl Sync for TxnContext
impl Unpin for TxnContext
impl UnwindSafe for TxnContext
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &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> 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, 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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,