pub struct NativeSessionCatalogRoute {
pub scope: NativeSessionCatalogScope,
pub workspace_id: Option<WorkspaceId>,
pub provider: AgentId,
}Fields§
§scope: NativeSessionCatalogScope§workspace_id: Option<WorkspaceId>§provider: AgentIdImplementations§
Source§impl NativeSessionCatalogRoute
impl NativeSessionCatalogRoute
pub fn workspace( workspace_id: WorkspaceId, provider: AgentId, ) -> NativeSessionCatalogRoute
pub fn unregistered(provider: AgentId) -> NativeSessionCatalogRoute
pub fn validate(&self) -> Result<(), &'static str>
Trait Implementations§
Source§impl Clone for NativeSessionCatalogRoute
impl Clone for NativeSessionCatalogRoute
Source§fn clone(&self) -> NativeSessionCatalogRoute
fn clone(&self) -> NativeSessionCatalogRoute
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 NativeSessionCatalogRoute
impl Debug for NativeSessionCatalogRoute
Source§impl<'de> Deserialize<'de> for NativeSessionCatalogRoute
impl<'de> Deserialize<'de> for NativeSessionCatalogRoute
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<NativeSessionCatalogRoute, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<NativeSessionCatalogRoute, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NativeSessionCatalogRoute
Source§impl Hash for NativeSessionCatalogRoute
impl Hash for NativeSessionCatalogRoute
Source§impl Ord for NativeSessionCatalogRoute
impl Ord for NativeSessionCatalogRoute
Source§fn cmp(&self, other: &NativeSessionCatalogRoute) -> Ordering
fn cmp(&self, other: &NativeSessionCatalogRoute) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for NativeSessionCatalogRoute
impl PartialOrd for NativeSessionCatalogRoute
Source§impl Serialize for NativeSessionCatalogRoute
impl Serialize for NativeSessionCatalogRoute
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for NativeSessionCatalogRoute
Auto Trait Implementations§
impl Freeze for NativeSessionCatalogRoute
impl RefUnwindSafe for NativeSessionCatalogRoute
impl Send for NativeSessionCatalogRoute
impl Sync for NativeSessionCatalogRoute
impl Unpin for NativeSessionCatalogRoute
impl UnsafeUnpin for NativeSessionCatalogRoute
impl UnwindSafe for NativeSessionCatalogRoute
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