pub struct CodecConfig {
pub endpoint: String,
pub auth: Option<String>,
}Expand description
Where the codec server lives, if the cluster uses one.
Fields§
§endpoint: StringBase URL. /decode is appended to it, per Temporal’s contract.
auth: Option<String>Sent verbatim as Authorization. Optional, and deliberately not defaulted from
anything: a codec server is a service the user runs, and quietly forwarding a
credential they did not ask us to send would be a surprise.
Trait Implementations§
Source§impl Clone for CodecConfig
impl Clone for CodecConfig
Source§fn clone(&self) -> CodecConfig
fn clone(&self) -> CodecConfig
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 moreSource§impl Debug for CodecConfig
impl Debug for CodecConfig
impl Eq for CodecConfig
Source§impl PartialEq for CodecConfig
impl PartialEq for CodecConfig
impl StructuralPartialEq for CodecConfig
Auto Trait Implementations§
impl Freeze for CodecConfig
impl RefUnwindSafe for CodecConfig
impl Send for CodecConfig
impl Sync for CodecConfig
impl Unpin for CodecConfig
impl UnsafeUnpin for CodecConfig
impl UnwindSafe for CodecConfig
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