pub struct RegisterBackendOutput {
pub backend_id: String,
pub exes: Vec<PathBuf>,
pub source: Option<SourceLocation>,
}Expand description
Output returned by the register_backend function.
Fields§
§backend_id: StringUnique identifier for this backend. Will be used as the folder name.
exes: Vec<PathBuf>List of executables, relative from the backend directory, that will be executed in the context of proto.
source: Option<SourceLocation>Location in which to acquire source files for the backend.
Trait Implementations§
Source§impl Clone for RegisterBackendOutput
impl Clone for RegisterBackendOutput
Source§fn clone(&self) -> RegisterBackendOutput
fn clone(&self) -> RegisterBackendOutput
Returns a copy 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 RegisterBackendOutput
impl Debug for RegisterBackendOutput
Source§impl Default for RegisterBackendOutput
impl Default for RegisterBackendOutput
Source§fn default() -> RegisterBackendOutput
fn default() -> RegisterBackendOutput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RegisterBackendOutput
impl<'de> Deserialize<'de> for RegisterBackendOutput
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 PartialEq for RegisterBackendOutput
impl PartialEq for RegisterBackendOutput
Source§impl Serialize for RegisterBackendOutput
impl Serialize for RegisterBackendOutput
impl StructuralPartialEq for RegisterBackendOutput
Auto Trait Implementations§
impl Freeze for RegisterBackendOutput
impl RefUnwindSafe for RegisterBackendOutput
impl Send for RegisterBackendOutput
impl Sync for RegisterBackendOutput
impl Unpin for RegisterBackendOutput
impl UnwindSafe for RegisterBackendOutput
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