pub struct TestAccount {
pub created_at: String,
pub email: String,
pub id: String,
pub otp_code: String,
pub phone_number: String,
pub updated_at: String,
}Expand description
A test account for an app.
JSON schema
{
"title": "TestAccount",
"description": "A test account for an app.",
"type": "object",
"required": [
"created_at",
"email",
"id",
"otp_code",
"phone_number",
"updated_at"
],
"properties": {
"created_at": {
"type": "string"
},
"email": {
"type": "string"
},
"id": {
"type": "string"
},
"otp_code": {
"type": "string"
},
"phone_number": {
"type": "string"
},
"updated_at": {
"type": "string"
}
},
"x-stainless-model": "apps.test_account"
}Fields§
§created_at: String§email: String§id: String§otp_code: String§phone_number: String§updated_at: StringTrait Implementations§
Source§impl Clone for TestAccount
impl Clone for TestAccount
Source§fn clone(&self) -> TestAccount
fn clone(&self) -> TestAccount
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 TestAccount
impl Debug for TestAccount
Source§impl<'de> Deserialize<'de> for TestAccount
impl<'de> Deserialize<'de> for TestAccount
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TestAccount, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TestAccount, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&TestAccount> for TestAccount
impl From<&TestAccount> for TestAccount
Source§fn from(value: &TestAccount) -> TestAccount
fn from(value: &TestAccount) -> TestAccount
Converts to this type from the input type.
Source§impl Serialize for TestAccount
impl Serialize for TestAccount
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for TestAccount
impl RefUnwindSafe for TestAccount
impl Send for TestAccount
impl Sync for TestAccount
impl Unpin for TestAccount
impl UnsafeUnpin for TestAccount
impl UnwindSafe for TestAccount
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