pub struct GetServerTime {
pub credentials: Option<Credentials>,
}Expand description
Request for retrieving the server’s current time
Fields§
§credentials: Option<Credentials>API credentials for authentication (optional for public endpoint)
Implementations§
Source§impl GetServerTime
impl GetServerTime
Sourcepub fn credentials(self, creds: Credentials) -> Self
pub fn credentials(self, creds: Credentials) -> Self
Sets the API credentials for authentication
Trait Implementations§
Source§impl From<GetServerTime> for Request
impl From<GetServerTime> for Request
Source§fn from(request: GetServerTime) -> Request
fn from(request: GetServerTime) -> Request
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GetServerTime
impl RefUnwindSafe for GetServerTime
impl Send for GetServerTime
impl Sync for GetServerTime
impl Unpin for GetServerTime
impl UnsafeUnpin for GetServerTime
impl UnwindSafe for GetServerTime
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