pub struct RegisterPackVersionRequest {
pub bundle_hash: String,
}Expand description
Payload for registering a Pack version.
JSON schema
{
"description": "Payload for registering a Pack version.",
"type": "object",
"required": [
"bundleHash"
],
"properties": {
"bundleHash": {
"description": "The SHA-256 hash of the file to be uploaded.",
"examples": [
"f0e4c2f76c58916ec258f246851bea091d14d4247a2fc3e18694461b1816e13b"
],
"type": "string"
}
},
"additionalProperties": false,
"x-schema-name": "RegisterPackVersionRequest"
}Fields§
§bundle_hash: StringThe SHA-256 hash of the file to be uploaded.
Trait Implementations§
Source§impl Clone for RegisterPackVersionRequest
impl Clone for RegisterPackVersionRequest
Source§fn clone(&self) -> RegisterPackVersionRequest
fn clone(&self) -> RegisterPackVersionRequest
Returns a duplicate 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 RegisterPackVersionRequest
impl Debug for RegisterPackVersionRequest
Source§impl<'de> Deserialize<'de> for RegisterPackVersionRequest
impl<'de> Deserialize<'de> for RegisterPackVersionRequest
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<&RegisterPackVersionRequest> for RegisterPackVersionRequest
impl From<&RegisterPackVersionRequest> for RegisterPackVersionRequest
Source§fn from(value: &RegisterPackVersionRequest) -> Self
fn from(value: &RegisterPackVersionRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RegisterPackVersionRequest
impl RefUnwindSafe for RegisterPackVersionRequest
impl Send for RegisterPackVersionRequest
impl Sync for RegisterPackVersionRequest
impl Unpin for RegisterPackVersionRequest
impl UnwindSafe for RegisterPackVersionRequest
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