pub struct ClientBuilder { /* private fields */ }Expand description
用于配置客户端级可选传输参数的构建器。
Implementations§
Source§impl ClientBuilder
impl ClientBuilder
Sourcepub const fn reference_date(self, date: NaturalDate) -> Self
pub const fn reference_date(self, date: NaturalDate) -> Self
覆盖相对日期校验使用的上海自然日。
适用于确定性测试和历史请求重放。
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ClientBuilder
impl RefUnwindSafe for ClientBuilder
impl Send for ClientBuilder
impl Sync for ClientBuilder
impl Unpin for ClientBuilder
impl UnsafeUnpin for ClientBuilder
impl UnwindSafe for ClientBuilder
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