pub struct RefreshOut {
pub connector: Option<Box<ConnView>>,
pub refreshed: Option<bool>,
}Fields§
§connector: Option<Box<ConnView>>Connection is the connector with its new expiry.
refreshed: Option<bool>Refreshed is always true — a failed rotation is an HTTP error.
Implementations§
Source§impl RefreshOut
impl RefreshOut
pub fn new() -> RefreshOut
Trait Implementations§
Source§impl Clone for RefreshOut
impl Clone for RefreshOut
Source§fn clone(&self) -> RefreshOut
fn clone(&self) -> RefreshOut
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 RefreshOut
impl Debug for RefreshOut
Source§impl Default for RefreshOut
impl Default for RefreshOut
Source§fn default() -> RefreshOut
fn default() -> RefreshOut
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RefreshOut
impl<'de> Deserialize<'de> for RefreshOut
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RefreshOut
impl PartialEq for RefreshOut
Source§impl Serialize for RefreshOut
impl Serialize for RefreshOut
impl StructuralPartialEq for RefreshOut
Auto Trait Implementations§
impl Freeze for RefreshOut
impl RefUnwindSafe for RefreshOut
impl Send for RefreshOut
impl Sync for RefreshOut
impl Unpin for RefreshOut
impl UnsafeUnpin for RefreshOut
impl UnwindSafe for RefreshOut
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