Struct typedb_protocol::Options 
source · pub struct Options {
    pub infer: Option<bool>,
    pub trace_inference: Option<bool>,
    pub explain: Option<bool>,
    pub parallel: Option<bool>,
    pub prefetch_size: Option<i32>,
    pub prefetch: Option<bool>,
    pub session_idle_timeout_millis: Option<i32>,
    pub transaction_timeout_millis: Option<i32>,
    pub schema_lock_acquire_timeout_millis: Option<i32>,
    pub read_any_replica: Option<bool>,
}Fields§
§infer: Option<bool>§trace_inference: Option<bool>§explain: Option<bool>§parallel: Option<bool>§prefetch_size: Option<i32>§prefetch: Option<bool>§session_idle_timeout_millis: Option<i32>§transaction_timeout_millis: Option<i32>§schema_lock_acquire_timeout_millis: Option<i32>§read_any_replica: Option<bool>Implementations§
source§impl Options
 
impl Options
sourcepub fn infer(&self) -> bool
 
pub fn infer(&self) -> bool
Returns the value of infer, or the default value if infer is unset.
sourcepub fn trace_inference(&self) -> bool
 
pub fn trace_inference(&self) -> bool
Returns the value of trace_inference, or the default value if trace_inference is unset.
sourcepub fn explain(&self) -> bool
 
pub fn explain(&self) -> bool
Returns the value of explain, or the default value if explain is unset.
sourcepub fn parallel(&self) -> bool
 
pub fn parallel(&self) -> bool
Returns the value of parallel, or the default value if parallel is unset.
sourcepub fn prefetch_size(&self) -> i32
 
pub fn prefetch_size(&self) -> i32
Returns the value of prefetch_size, or the default value if prefetch_size is unset.
sourcepub fn prefetch(&self) -> bool
 
pub fn prefetch(&self) -> bool
Returns the value of prefetch, or the default value if prefetch is unset.
sourcepub fn session_idle_timeout_millis(&self) -> i32
 
pub fn session_idle_timeout_millis(&self) -> i32
Returns the value of session_idle_timeout_millis, or the default value if session_idle_timeout_millis is unset.
sourcepub fn transaction_timeout_millis(&self) -> i32
 
pub fn transaction_timeout_millis(&self) -> i32
Returns the value of transaction_timeout_millis, or the default value if transaction_timeout_millis is unset.
sourcepub fn schema_lock_acquire_timeout_millis(&self) -> i32
 
pub fn schema_lock_acquire_timeout_millis(&self) -> i32
Returns the value of schema_lock_acquire_timeout_millis, or the default value if schema_lock_acquire_timeout_millis is unset.
sourcepub fn read_any_replica(&self) -> bool
 
pub fn read_any_replica(&self) -> bool
Returns the value of read_any_replica, or the default value if read_any_replica is unset.
Trait Implementations§
source§impl Message for Options
 
impl Message for Options
source§fn encoded_len(&self) -> usize
 
fn encoded_len(&self) -> usize
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
    B: BufMut,
    Self: Sized,
 
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where B: BufMut, Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
    Self: Sized,
 
fn encode_to_vec(&self) -> Vec<u8>where Self: Sized,
source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
    B: BufMut,
    Self: Sized,
 
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where B: BufMut, Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
    Self: Sized,
 
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where Self: Sized,
source§fn decode<B>(buf: B) -> Result<Self, DecodeError>where
    B: Buf,
    Self: Default,
 
fn decode<B>(buf: B) -> Result<Self, DecodeError>where B: Buf, Self: Default,
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
    B: Buf,
    Self: Default,
 
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where B: Buf, Self: Default,
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
    B: Buf,
    Self: Sized,
 
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where B: Buf, Self: Sized,
self. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
    B: Buf,
    Self: Sized,
 
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where B: Buf, Self: Sized,
self.source§impl PartialEq for Options
 
impl PartialEq for Options
impl StructuralPartialEq for Options
Auto Trait Implementations§
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
 
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
 
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
 
fn into_request(self) -> Request<T>
T in a tonic::Request