pub struct CreateLangfuseCredentialDto {
pub provider: ProviderTrue,
pub public_key: String,
pub api_key: String,
pub api_url: String,
pub name: Option<String>,
}
Fields§
§provider: ProviderTrue
§public_key: String
The public key for Langfuse project. Eg: pk-lf-…
api_key: String
The secret key for Langfuse project. Eg: sk-lf-… .This is not returned in the API.
api_url: String
The host URL for Langfuse project. Eg: https://cloud.langfuse.com
name: Option<String>
This is the name of credential. This is just for your reference.
Implementations§
Source§impl CreateLangfuseCredentialDto
impl CreateLangfuseCredentialDto
pub fn new( provider: ProviderTrue, public_key: String, api_key: String, api_url: String, ) -> CreateLangfuseCredentialDto
Trait Implementations§
Source§impl Clone for CreateLangfuseCredentialDto
impl Clone for CreateLangfuseCredentialDto
Source§fn clone(&self) -> CreateLangfuseCredentialDto
fn clone(&self) -> CreateLangfuseCredentialDto
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 CreateLangfuseCredentialDto
impl Debug for CreateLangfuseCredentialDto
Source§impl Default for CreateLangfuseCredentialDto
impl Default for CreateLangfuseCredentialDto
Source§fn default() -> CreateLangfuseCredentialDto
fn default() -> CreateLangfuseCredentialDto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateLangfuseCredentialDto
impl<'de> Deserialize<'de> for CreateLangfuseCredentialDto
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
impl StructuralPartialEq for CreateLangfuseCredentialDto
Auto Trait Implementations§
impl Freeze for CreateLangfuseCredentialDto
impl RefUnwindSafe for CreateLangfuseCredentialDto
impl Send for CreateLangfuseCredentialDto
impl Sync for CreateLangfuseCredentialDto
impl Unpin for CreateLangfuseCredentialDto
impl UnwindSafe for CreateLangfuseCredentialDto
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