pub struct RegisterParams {
pub app_name: String,
pub exe_path: PathBuf,
pub managed_by: ManagedBy,
pub workspaces: Vec<WorkspaceRegistration>,
}Expand description
Parameters of REGISTER.
Fields§
§app_name: StringWhich application this server belongs to.
exe_path: PathBufThe executable to run when a peer wants a workspace and this server is not running.
managed_by: ManagedByHow this server was started. A Service server is never started by the bridge.
workspaces: Vec<WorkspaceRegistration>The workspaces it owns. Registering again replaces the previous list for this app.
Trait Implementations§
Source§impl Clone for RegisterParams
impl Clone for RegisterParams
Source§impl Debug for RegisterParams
impl Debug for RegisterParams
Source§impl<'de> Deserialize<'de> for RegisterParams
impl<'de> Deserialize<'de> for RegisterParams
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
Auto Trait Implementations§
impl Freeze for RegisterParams
impl RefUnwindSafe for RegisterParams
impl Send for RegisterParams
impl Sync for RegisterParams
impl Unpin for RegisterParams
impl UnsafeUnpin for RegisterParams
impl UnwindSafe for RegisterParams
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