pub struct CrossProviderGrant {
pub grant_id: String,
pub from_provider: String,
pub to_provider: String,
pub allowed_models: BTreeSet<QualifiedModelId>,
pub expires_at_unix: Option<u64>,
}Fields§
§grant_id: String§from_provider: String§to_provider: String§allowed_models: BTreeSet<QualifiedModelId>§expires_at_unix: Option<u64>Trusted Unix expiry. None is retained for compatibility with pinned policy files.
Implementations§
Trait Implementations§
Source§impl Clone for CrossProviderGrant
impl Clone for CrossProviderGrant
Source§fn clone(&self) -> CrossProviderGrant
fn clone(&self) -> CrossProviderGrant
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 CrossProviderGrant
impl Debug for CrossProviderGrant
Auto Trait Implementations§
impl Freeze for CrossProviderGrant
impl RefUnwindSafe for CrossProviderGrant
impl Send for CrossProviderGrant
impl Sync for CrossProviderGrant
impl Unpin for CrossProviderGrant
impl UnsafeUnpin for CrossProviderGrant
impl UnwindSafe for CrossProviderGrant
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