pub struct StctlMetadata {
pub listen_addr: String,
pub frontend_dev_build_dir: PathBuf,
}
Expand description
Development server metadata.
This information is passed from stctl to the server when it is started as a development server.
Fields§
§listen_addr: String
The address the dev server should listen to.
frontend_dev_build_dir: PathBuf
The directory that contains the development build of frontend artifact.
Implementations§
Trait Implementations§
Source§impl Clone for StctlMetadata
impl Clone for StctlMetadata
Source§fn clone(&self) -> StctlMetadata
fn clone(&self) -> StctlMetadata
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 StctlMetadata
impl Debug for StctlMetadata
Source§impl<'de> Deserialize<'de> for StctlMetadata
impl<'de> Deserialize<'de> for StctlMetadata
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 StctlMetadata
impl RefUnwindSafe for StctlMetadata
impl Send for StctlMetadata
impl Sync for StctlMetadata
impl Unpin for StctlMetadata
impl UnwindSafe for StctlMetadata
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