pub struct GrpcBridgeConfig {
pub bridge_id: String,
pub trust_domain: String,
pub service_method: String,
pub authority: Option<String>,
pub metadata: HashMap<String, String>,
}Fields§
§bridge_id: String§trust_domain: String§service_method: StringDefault service method, e.g. trustforge.ProofRpc/Unary.
Default :authority.
metadata: HashMap<String, String>Static metadata added to every call (tracing, etc.).
Trait Implementations§
Source§impl Clone for GrpcBridgeConfig
impl Clone for GrpcBridgeConfig
Source§fn clone(&self) -> GrpcBridgeConfig
fn clone(&self) -> GrpcBridgeConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GrpcBridgeConfig
impl RefUnwindSafe for GrpcBridgeConfig
impl Send for GrpcBridgeConfig
impl Sync for GrpcBridgeConfig
impl Unpin for GrpcBridgeConfig
impl UnsafeUnpin for GrpcBridgeConfig
impl UnwindSafe for GrpcBridgeConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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§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 more