pub struct LocalStorageHeartbeatData {
pub is_directory: Option<bool>,
pub modified_at: Option<DateTime<Utc>>,
pub path: String,
pub path_exists: bool,
pub readonly: Option<bool>,
pub status: StorageHeartbeatStatus,
}Expand description
LocalStorageHeartbeatData
JSON schema
{
"type": "object",
"required": [
"path",
"pathExists",
"status"
],
"properties": {
"isDirectory": {
"type": [
"boolean",
"null"
]
},
"modifiedAt": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"path": {
"type": "string"
},
"pathExists": {
"type": "boolean"
},
"readonly": {
"type": [
"boolean",
"null"
]
},
"status": {
"$ref": "#/components/schemas/StorageHeartbeatStatus"
}
}
}Fields§
§is_directory: Option<bool>§modified_at: Option<DateTime<Utc>>§path: String§path_exists: bool§readonly: Option<bool>§status: StorageHeartbeatStatusImplementations§
Source§impl LocalStorageHeartbeatData
impl LocalStorageHeartbeatData
pub fn builder() -> LocalStorageHeartbeatData
Trait Implementations§
Source§impl Clone for LocalStorageHeartbeatData
impl Clone for LocalStorageHeartbeatData
Source§fn clone(&self) -> LocalStorageHeartbeatData
fn clone(&self) -> LocalStorageHeartbeatData
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 LocalStorageHeartbeatData
impl Debug for LocalStorageHeartbeatData
Source§impl<'de> Deserialize<'de> for LocalStorageHeartbeatData
impl<'de> Deserialize<'de> for LocalStorageHeartbeatData
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
Source§impl From<&LocalStorageHeartbeatData> for LocalStorageHeartbeatData
impl From<&LocalStorageHeartbeatData> for LocalStorageHeartbeatData
Source§fn from(value: &LocalStorageHeartbeatData) -> Self
fn from(value: &LocalStorageHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<LocalStorageHeartbeatData> for LocalStorageHeartbeatData
impl From<LocalStorageHeartbeatData> for LocalStorageHeartbeatData
Source§fn from(value: LocalStorageHeartbeatData) -> Self
fn from(value: LocalStorageHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl TryFrom<LocalStorageHeartbeatData> for LocalStorageHeartbeatData
impl TryFrom<LocalStorageHeartbeatData> for LocalStorageHeartbeatData
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: LocalStorageHeartbeatData) -> Result<Self, ConversionError>
fn try_from(value: LocalStorageHeartbeatData) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for LocalStorageHeartbeatData
impl RefUnwindSafe for LocalStorageHeartbeatData
impl Send for LocalStorageHeartbeatData
impl Sync for LocalStorageHeartbeatData
impl Unpin for LocalStorageHeartbeatData
impl UnsafeUnpin for LocalStorageHeartbeatData
impl UnwindSafe for LocalStorageHeartbeatData
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