pub struct RegistryGetFileResponse {
pub path: String,
pub size: i64,
pub binary: bool,
pub truncated: bool,
pub content: Option<String>,
}Expand description
RegistryGetFileResponse model.
Fields§
§path: String§size: i64§binary: bool§truncated: bool§content: Option<String>UTF-8 text body. null when binary: true.
Trait Implementations§
Source§impl Clone for RegistryGetFileResponse
impl Clone for RegistryGetFileResponse
Source§fn clone(&self) -> RegistryGetFileResponse
fn clone(&self) -> RegistryGetFileResponse
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 RegistryGetFileResponse
impl Debug for RegistryGetFileResponse
Source§impl Default for RegistryGetFileResponse
impl Default for RegistryGetFileResponse
Source§fn default() -> RegistryGetFileResponse
fn default() -> RegistryGetFileResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RegistryGetFileResponse
impl<'de> Deserialize<'de> for RegistryGetFileResponse
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 for RegistryGetFileResponse
impl PartialEq for RegistryGetFileResponse
Source§impl Serialize for RegistryGetFileResponse
impl Serialize for RegistryGetFileResponse
impl StructuralPartialEq for RegistryGetFileResponse
Auto Trait Implementations§
impl Freeze for RegistryGetFileResponse
impl RefUnwindSafe for RegistryGetFileResponse
impl Send for RegistryGetFileResponse
impl Sync for RegistryGetFileResponse
impl Unpin for RegistryGetFileResponse
impl UnsafeUnpin for RegistryGetFileResponse
impl UnwindSafe for RegistryGetFileResponse
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