pub struct TogetherAiCredential {
pub provider: Provider,
pub api_key: String,
pub id: String,
pub org_id: String,
pub created_at: String,
pub updated_at: String,
pub name: Option<String>,
}Fields§
§provider: Provider§api_key: StringThis is not returned in the API.
id: StringThis is the unique identifier for the credential.
org_id: StringThis is the unique identifier for the org that this credential belongs to.
created_at: StringThis is the ISO 8601 date-time string of when the credential was created.
updated_at: StringThis is the ISO 8601 date-time string of when the assistant was last updated.
name: Option<String>This is the name of credential. This is just for your reference.
Implementations§
Trait Implementations§
Source§impl Clone for TogetherAiCredential
impl Clone for TogetherAiCredential
Source§fn clone(&self) -> TogetherAiCredential
fn clone(&self) -> TogetherAiCredential
Returns a copy 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 ComposeSchema for TogetherAiCredential
impl ComposeSchema for TogetherAiCredential
Source§impl Debug for TogetherAiCredential
impl Debug for TogetherAiCredential
Source§impl Default for TogetherAiCredential
impl Default for TogetherAiCredential
Source§fn default() -> TogetherAiCredential
fn default() -> TogetherAiCredential
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TogetherAiCredential
impl<'de> Deserialize<'de> for TogetherAiCredential
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 TogetherAiCredential
impl PartialEq for TogetherAiCredential
Source§impl Serialize for TogetherAiCredential
impl Serialize for TogetherAiCredential
Source§impl ToSchema for TogetherAiCredential
impl ToSchema for TogetherAiCredential
impl StructuralPartialEq for TogetherAiCredential
Auto Trait Implementations§
impl Freeze for TogetherAiCredential
impl RefUnwindSafe for TogetherAiCredential
impl Send for TogetherAiCredential
impl Sync for TogetherAiCredential
impl Unpin for TogetherAiCredential
impl UnwindSafe for TogetherAiCredential
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