pub struct TldrCacheUpdate {
pub action: TldrCacheAction,
pub cache_dir: Option<String>,
pub client: Option<String>,
pub output: Option<String>,
pub revision: Option<String>,
}Expand description
Result of an explicit mant --update-tldr operation.
Fields§
§action: TldrCacheActionMutation performed by the client-specific update path.
cache_dir: Option<String>Updated cache directory, when the client exposes it.
client: Option<String>External tldr client used for the operation, when applicable.
output: Option<String>Trimmed human-readable client output, when useful.
revision: Option<String>Resulting cache revision, when discoverable.
Trait Implementations§
Source§impl Clone for TldrCacheUpdate
impl Clone for TldrCacheUpdate
Source§fn clone(&self) -> TldrCacheUpdate
fn clone(&self) -> TldrCacheUpdate
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 moreSource§impl Debug for TldrCacheUpdate
impl Debug for TldrCacheUpdate
Source§impl<'de> Deserialize<'de> for TldrCacheUpdate
impl<'de> Deserialize<'de> for TldrCacheUpdate
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
impl Eq for TldrCacheUpdate
Source§impl JsonSchema for TldrCacheUpdate
impl JsonSchema for TldrCacheUpdate
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 moreSource§impl PartialEq for TldrCacheUpdate
impl PartialEq for TldrCacheUpdate
Source§impl Serialize for TldrCacheUpdate
impl Serialize for TldrCacheUpdate
impl StructuralPartialEq for TldrCacheUpdate
Auto Trait Implementations§
impl Freeze for TldrCacheUpdate
impl RefUnwindSafe for TldrCacheUpdate
impl Send for TldrCacheUpdate
impl Sync for TldrCacheUpdate
impl Unpin for TldrCacheUpdate
impl UnsafeUnpin for TldrCacheUpdate
impl UnwindSafe for TldrCacheUpdate
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