pub struct AutomationConfig {
pub openid: Option<AutomationConfigOpenId>,
pub version: Option<Version>,
pub created_at: Option<Timestamp>,
pub updated_at: Option<Timestamp>,
}Fields§
§openid: Option<AutomationConfigOpenId>§version: Option<Version>§created_at: Option<Timestamp>§updated_at: Option<Timestamp>Implementations§
Source§impl AutomationConfig
impl AutomationConfig
pub fn prepare( current_config: &Option<AutomationConfig>, user_config: &SetAutomationConfig, ) -> Self
Trait Implementations§
Source§impl CandidType for AutomationConfig
impl CandidType for AutomationConfig
Source§impl Clone for AutomationConfig
impl Clone for AutomationConfig
Source§fn clone(&self) -> AutomationConfig
fn clone(&self) -> AutomationConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for AutomationConfig
impl Default for AutomationConfig
Source§fn default() -> AutomationConfig
fn default() -> AutomationConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AutomationConfig
impl<'de> Deserialize<'de> for AutomationConfig
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 Serialize for AutomationConfig
impl Serialize for AutomationConfig
Auto Trait Implementations§
impl Freeze for AutomationConfig
impl RefUnwindSafe for AutomationConfig
impl Send for AutomationConfig
impl Sync for AutomationConfig
impl Unpin for AutomationConfig
impl UnsafeUnpin for AutomationConfig
impl UnwindSafe for AutomationConfig
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