pub struct VersionReport {
pub version: Option<String>,
pub raw: String,
pub supported_floor: String,
pub meets_floor: Option<bool>,
}Expand description
What tailscale_version returns.
Fields§
§version: Option<String>The release the binary reports, when it could be read.
raw: StringEverything the binary printed, which also carries the commit and the Go toolchain. Kept because it is what a bug report needs.
supported_floor: StringThe oldest release this server is written against.
meets_floor: Option<bool>Whether the binary is at or above that floor. An unstable build — an odd minor number — counts as newer than the stable release above it. Null when the version could not be read, because then nobody knows.
Trait Implementations§
Source§impl Debug for VersionReport
impl Debug for VersionReport
Source§impl JsonSchema for VersionReport
impl JsonSchema for VersionReport
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for VersionReport
impl RefUnwindSafe for VersionReport
impl Send for VersionReport
impl Sync for VersionReport
impl Unpin for VersionReport
impl UnsafeUnpin for VersionReport
impl UnwindSafe for VersionReport
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