Trait gosh_remote::cli::Configure
pub trait Configure: Default + DeserializeOwned + Serialize {
// Provided methods
fn print_toml(&self) { ... }
fn from_json(s: &str) -> Result<Self, Error> { ... }
fn from_toml(s: &str) -> Result<Self, Error> { ... }
fn to_json(&self) -> Result<String, Error> { ... }
fn to_toml(&self) -> Result<String, Error> { ... }
}Provided Methods§
fn from_json(s: &str) -> Result<Self, Error>
fn from_json(s: &str) -> Result<Self, Error>
Deserialize an instance of type T from a string of JSON text.