pub fn with_target(self, ver: Version) -> Client {
        let mut cli = self;
        cli.target_ver = ver;
        cli
    }
/// Adjusts the client to target a specific version.
///
/// By default, the client will target version 1.14.0, as built by `sunk`.
/// However, this means that any servers that don't implement advanced
/// features that `sunk` does automatically, such as token-based
/// authentication, will be incompatible. The target version allows setting
/// an override on these features by making the client limit itself to
/// features that the target will support.
///
/// Note that (currently) the client does not provide any sanity-checking
/// on which methods are called; attempting to access an endpoint not
/// supported by the server will fail after the call, not before.
Adjusts the client to target a specific version.
By default, the client will target version 1.14.0, as built by `sunk`.
However, this means that any servers that don't implement advanced
features that `sunk` does automatically, such as token-based
authentication, will be incompatible. The target version allows setting
an override on these features by making the client limit itself to
features that the target will support.

Note that (currently) the client does not provide any sanity-checking
on which methods are called; attempting to access an endpoint not
supported by the server will fail after the call, not before.
Adjusts the client to target a specific version . By default the client will target version 1 . 14 . 0 as built by ` sunk ` . However this means that any servers that don ' t implement advanced features that ` sunk ` does automatically such as token - based authentication will be incompatible . The target version allows setting an override on these features by making the client limit itself to features that the target will support . Note that ( currently ) the client does not provide any sanity - checking on which methods are called ; attempting to access an endpoint not supported by the server will fail after the call not before .
pub fn with_target(self, ver: Version) -> Client {
        let mut cli = self;
        cli.target_ver = ver;
        cli
    }
pub fn with_target ( self , ver : Version ) -> Client { let mut cli = self ; cli . target_ver = ver ; cli }
Adjusts the client to target a specific version.
Adjusts the client to target a specific version .
self
ver
Version
self
ver
Version