pub struct RemoteAgentProvider {
pub id: String,
pub name: String,
pub available: bool,
pub remote_writes: bool,
}Expand description
One installed agent provider.
Fields§
§id: String§name: String§available: boolWhether the CLI behind it is actually installed and runnable.
remote_writes: boolWhether a write-capable turn may be started remotely.
False for any provider whose native runtime adapter cannot give the same approval guarantees as the reference one. Such a provider may still be offered read-only, and the phone must label it that way rather than hiding it — a missing provider reads as a bug, a labelled one reads as a decision.
Trait Implementations§
Source§impl Clone for RemoteAgentProvider
impl Clone for RemoteAgentProvider
Source§fn clone(&self) -> RemoteAgentProvider
fn clone(&self) -> RemoteAgentProvider
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 RemoteAgentProvider
impl Debug for RemoteAgentProvider
Source§impl<'de> Deserialize<'de> for RemoteAgentProvider
impl<'de> Deserialize<'de> for RemoteAgentProvider
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 RemoteAgentProvider
Source§impl PartialEq for RemoteAgentProvider
impl PartialEq for RemoteAgentProvider
Source§impl Serialize for RemoteAgentProvider
impl Serialize for RemoteAgentProvider
impl StructuralPartialEq for RemoteAgentProvider
Auto Trait Implementations§
impl Freeze for RemoteAgentProvider
impl RefUnwindSafe for RemoteAgentProvider
impl Send for RemoteAgentProvider
impl Sync for RemoteAgentProvider
impl Unpin for RemoteAgentProvider
impl UnsafeUnpin for RemoteAgentProvider
impl UnwindSafe for RemoteAgentProvider
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.