Struct wwsvc_rs::client::InternalWebwareClient
source · pub struct InternalWebwareClient { /* private fields */ }
Expand description
The internal builder for constructing a WebwareClient
Implementations§
source§impl InternalWebwareClient
impl InternalWebwareClient
sourcepub fn builder(
) -> InternalWebwareClientBuilder<((), (), (), (), (), (), (), (), ())>
pub fn builder( ) -> InternalWebwareClientBuilder<((), (), (), (), (), (), (), (), ())>
Create a builder for building InternalWebwareClient
.
On the builder, call .webware_url(...)
, .vendor_hash(...)
, .app_hash(...)
, .secret(...)
, .revision(...)
, .credentials(...)
(optional), .result_max_lines(...)
(optional), .allow_insecure(...)
(optional), .timeout(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of InternalWebwareClient
.
Trait Implementations§
source§impl From<InternalWebwareClient> for WebwareClient<Unregistered>
impl From<InternalWebwareClient> for WebwareClient<Unregistered>
source§fn from(client: InternalWebwareClient) -> Self
fn from(client: InternalWebwareClient) -> Self
Converts to this type from the input type.
source§impl TryFrom<InternalWebwareClient> for WebwareClient<Registered>
impl TryFrom<InternalWebwareClient> for WebwareClient<Registered>
§type Error = WWSVCError
type Error = WWSVCError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for InternalWebwareClient
impl RefUnwindSafe for InternalWebwareClient
impl Send for InternalWebwareClient
impl Sync for InternalWebwareClient
impl Unpin for InternalWebwareClient
impl UnwindSafe for InternalWebwareClient
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