pub struct OpenProject {
pub id: String,
pub slug: String,
pub name: String,
pub models: Option<Vec<ProjectModel>>,
}Expand description
A project the developer may issue themselves a personal key for.
Fields§
§id: StringThe Control Plane project id.
slug: String§name: String§models: Option<Vec<ProjectModel>>The project’s model aliases, each with whether the gateway takes a
call paid by a Claude subscription on it. None: the gateway does not
say (a version from before the list).
Implementations§
Source§impl OpenProject
impl OpenProject
Sourcepub fn subscription_aliases(&self) -> Option<Vec<String>>
pub fn subscription_aliases(&self) -> Option<Vec<String>>
The aliases a call paid by a Claude subscription may use, when the gateway says which.
Trait Implementations§
Source§impl Clone for OpenProject
impl Clone for OpenProject
Source§impl Debug for OpenProject
impl Debug for OpenProject
Source§impl<'de> Deserialize<'de> for OpenProject
impl<'de> Deserialize<'de> for OpenProject
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 Eq for OpenProject
Source§impl PartialEq for OpenProject
impl PartialEq for OpenProject
impl StructuralPartialEq for OpenProject
Auto Trait Implementations§
impl Forget for OpenProject
impl Freeze for OpenProject
impl Move for OpenProject
impl RefUnwindSafe for OpenProject
impl Send for OpenProject
impl Sync for OpenProject
impl Unpin for OpenProject
impl UnsafeUnpin for OpenProject
impl UnwindSafe for OpenProject
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.