pub struct StepAccountResponse {
pub id: Uuid,
pub name: String,
pub display_name: String,
}Expand description
Readable identity of the Provider Account a step ran under.
Deliberately minimal: it never carries the credential, the secret key or any scheduling data, since it is readable by anyone who can read the run.
§Examples
use ironflow_api::entities::StepAccountResponse;
use uuid::Uuid;
let account = StepAccountResponse {
id: Uuid::now_v7(),
name: "perso".to_string(),
display_name: "Compte perso".to_string(),
};
assert_eq!(account.name, "perso");Fields§
§id: UuidAccount ID.
name: StringUnique slug.
display_name: StringHuman-readable name.
Trait Implementations§
Source§impl Clone for StepAccountResponse
impl Clone for StepAccountResponse
Source§impl Debug for StepAccountResponse
impl Debug for StepAccountResponse
Source§impl<'de> Deserialize<'de> for StepAccountResponse
impl<'de> Deserialize<'de> for StepAccountResponse
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 From<ProviderAccount> for StepAccountResponse
impl From<ProviderAccount> for StepAccountResponse
Source§fn from(account: ProviderAccount) -> Self
fn from(account: ProviderAccount) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StepAccountResponse
impl RefUnwindSafe for StepAccountResponse
impl Send for StepAccountResponse
impl Sync for StepAccountResponse
impl Unpin for StepAccountResponse
impl UnsafeUnpin for StepAccountResponse
impl UnwindSafe for StepAccountResponse
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