Struct tvix_castore::directoryservice::bigtable::BigtableParameters
source · pub struct BigtableParameters {
project_id: String,
instance_name: String,
is_read_only: bool,
channel_size: usize,
timeout: Option<Duration>,
table_name: String,
family_name: String,
app_profile_id: String,
}
Expand description
Represents configuration of BigtableDirectoryService. This currently conflates both connect parameters and data model/client behaviour parameters.
Fields§
§project_id: String
§instance_name: String
§is_read_only: bool
§channel_size: usize
§timeout: Option<Duration>
§table_name: String
§family_name: String
§app_profile_id: String
Trait Implementations§
source§impl Clone for BigtableParameters
impl Clone for BigtableParameters
source§fn clone(&self) -> BigtableParameters
fn clone(&self) -> BigtableParameters
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BigtableParameters
impl Debug for BigtableParameters
source§impl<'de> Deserialize<'de> for BigtableParameters
impl<'de> Deserialize<'de> for BigtableParameters
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for BigtableParameters
impl PartialEq for BigtableParameters
source§fn eq(&self, other: &BigtableParameters) -> bool
fn eq(&self, other: &BigtableParameters) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for BigtableParameters
impl Serialize for BigtableParameters
source§impl ServiceBuilder for BigtableParameters
impl ServiceBuilder for BigtableParameters
type Output = dyn DirectoryService
fn build<'a, 'life0, 'life1, 'async_trait>(
&'a self,
_instance_name: &'life0 str,
_context: &'life1 CompositionContext<'_>,
) -> Pin<Box<dyn Future<Output = Result<Arc<dyn DirectoryService>, Box<dyn Error + Send + Sync>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
source§impl TryFrom<Url> for BigtableParameters
impl TryFrom<Url> for BigtableParameters
impl StructuralPartialEq for BigtableParameters
Auto Trait Implementations§
impl Freeze for BigtableParameters
impl RefUnwindSafe for BigtableParameters
impl Send for BigtableParameters
impl Sync for BigtableParameters
impl Unpin for BigtableParameters
impl UnwindSafe for BigtableParameters
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
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
source§impl<T> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§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>
Wrap the input message
T
in a tonic::Request