Struct scl_core::version::structs::LoggingFile
source · pub struct LoggingFile {
pub id: String,
pub sha1: String,
pub size: u32,
pub url: String,
}
Expand description
日志配置文件的下载信息
Fields§
§id: String
日志配置的 ID
sha1: String
日志配置文件的 SHA1 摘要
size: u32
日志配置文件的大小,以字节为单位
url: String
日志配置文件的下载链接
Trait Implementations§
source§impl Clone for LoggingFile
impl Clone for LoggingFile
source§fn clone(&self) -> LoggingFile
fn clone(&self) -> LoggingFile
Returns a copy of the value. Read more
1.0.0 · 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 LoggingFile
impl Debug for LoggingFile
source§impl<'de> Deserialize<'de> for LoggingFile
impl<'de> Deserialize<'de> for LoggingFile
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 PartialEq<LoggingFile> for LoggingFile
impl PartialEq<LoggingFile> for LoggingFile
source§fn eq(&self, other: &LoggingFile) -> bool
fn eq(&self, other: &LoggingFile) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LoggingFile
impl Serialize for LoggingFile
impl Eq for LoggingFile
impl StructuralEq for LoggingFile
impl StructuralPartialEq for LoggingFile
Auto Trait Implementations§
impl RefUnwindSafe for LoggingFile
impl Send for LoggingFile
impl Sync for LoggingFile
impl Unpin for LoggingFile
impl UnwindSafe for LoggingFile
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.