pub struct GeneratorRead {
pub name: String,
pub host: Option<String>,
}Expand description
The generator the binding’s committed artifact needs, as found on the host.
Fields§
§name: StringThe tool, as versions.toml names it.
host: Option<String>The version the host reports, where the tool answers.
Trait Implementations§
Source§impl Clone for GeneratorRead
impl Clone for GeneratorRead
Source§fn clone(&self) -> GeneratorRead
fn clone(&self) -> GeneratorRead
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GeneratorRead
impl RefUnwindSafe for GeneratorRead
impl Send for GeneratorRead
impl Sync for GeneratorRead
impl Unpin for GeneratorRead
impl UnsafeUnpin for GeneratorRead
impl UnwindSafe for GeneratorRead
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