pub struct RobotCreated {
pub id: Option<i64>,
pub name: Option<String>,
pub secret: Option<String>,
pub creation_time: Option<String>,
pub expires_at: Option<i64>,
}Expand description
RobotCreated : The response for robot account creation.
Fields§
§id: Option<i64>The ID of the robot
name: Option<String>The name of the robot
secret: Option<String>The secret of the robot
creation_time: Option<String>The creation time of the robot.
expires_at: Option<i64>The expiration date of the robot
Implementations§
Source§impl RobotCreated
impl RobotCreated
Sourcepub fn new() -> RobotCreated
pub fn new() -> RobotCreated
The response for robot account creation.
Trait Implementations§
Source§impl Clone for RobotCreated
impl Clone for RobotCreated
Source§fn clone(&self) -> RobotCreated
fn clone(&self) -> RobotCreated
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 Debug for RobotCreated
impl Debug for RobotCreated
Source§impl Default for RobotCreated
impl Default for RobotCreated
Source§fn default() -> RobotCreated
fn default() -> RobotCreated
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RobotCreated
impl<'de> Deserialize<'de> for RobotCreated
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 RobotCreated
impl PartialEq for RobotCreated
Source§impl Serialize for RobotCreated
impl Serialize for RobotCreated
impl StructuralPartialEq for RobotCreated
Auto Trait Implementations§
impl Freeze for RobotCreated
impl RefUnwindSafe for RobotCreated
impl Send for RobotCreated
impl Sync for RobotCreated
impl Unpin for RobotCreated
impl UnwindSafe for RobotCreated
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