pub struct EnrollResponse {
pub service_id: Uuid,
pub session_token: String,
pub paused: bool,
pub sync_interval_secs: Option<u64>,
}Fields§
§service_id: Uuid§session_token: String§paused: boolOperator-desired pause state, persisted server-side; honored before the initial sync so a restart cannot undo a pause.
sync_interval_secs: Option<u64>Operator-set scheduled sync cadence, persisted server-side. None leaves the
service on its own SYNC_INTERVAL_SECONDS.
Trait Implementations§
Source§impl Debug for EnrollResponse
impl Debug for EnrollResponse
Source§impl<'de> Deserialize<'de> for EnrollResponse
impl<'de> Deserialize<'de> for EnrollResponse
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
Auto Trait Implementations§
impl Freeze for EnrollResponse
impl RefUnwindSafe for EnrollResponse
impl Send for EnrollResponse
impl Sync for EnrollResponse
impl Unpin for EnrollResponse
impl UnsafeUnpin for EnrollResponse
impl UnwindSafe for EnrollResponse
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