pub enum FileSystemMode {
Remote,
Local,
}Expand description
Where filesystem and artifact tools should execute
Variants§
Remote
Run filesystem/artifact tools on the server (default)
Local
Handle filesystem/artifact tools locally via external tool callbacks
Implementations§
Source§impl FileSystemMode
impl FileSystemMode
pub fn include_server_tools(&self) -> bool
Trait Implementations§
Source§impl Clone for FileSystemMode
impl Clone for FileSystemMode
Source§fn clone(&self) -> FileSystemMode
fn clone(&self) -> FileSystemMode
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 FileSystemMode
impl Debug for FileSystemMode
Source§impl Default for FileSystemMode
impl Default for FileSystemMode
Source§fn default() -> FileSystemMode
fn default() -> FileSystemMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FileSystemMode
impl<'de> Deserialize<'de> for FileSystemMode
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
Source§impl JsonSchema for FileSystemMode
impl JsonSchema for FileSystemMode
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for FileSystemMode
impl PartialEq for FileSystemMode
Source§impl Serialize for FileSystemMode
impl Serialize for FileSystemMode
impl Eq for FileSystemMode
impl StructuralPartialEq for FileSystemMode
Auto Trait Implementations§
impl Freeze for FileSystemMode
impl RefUnwindSafe for FileSystemMode
impl Send for FileSystemMode
impl Sync for FileSystemMode
impl Unpin for FileSystemMode
impl UnsafeUnpin for FileSystemMode
impl UnwindSafe for FileSystemMode
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,
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.