pub struct UploadSaltResponse {
pub commit_sha: String,
pub project_id: i64,
pub salt: String,
}Expand description
Response with salt for file path anonymization.
JSON schema
{
"title": "UploadSaltResponse",
"description": "Response with salt for file path anonymization.",
"type": "object",
"required": [
"commit_sha",
"project_id",
"salt"
],
"properties": {
"commit_sha": {
"title": "Commit Sha",
"type": "string"
},
"project_id": {
"title": "Project Id",
"type": "integer"
},
"salt": {
"title": "Salt",
"type": "string"
}
}
}Fields§
§commit_sha: String§project_id: i64§salt: StringImplementations§
Source§impl UploadSaltResponse
impl UploadSaltResponse
pub fn builder() -> UploadSaltResponse
Trait Implementations§
Source§impl Clone for UploadSaltResponse
impl Clone for UploadSaltResponse
Source§fn clone(&self) -> UploadSaltResponse
fn clone(&self) -> UploadSaltResponse
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 UploadSaltResponse
impl Debug for UploadSaltResponse
Source§impl<'de> Deserialize<'de> for UploadSaltResponse
impl<'de> Deserialize<'de> for UploadSaltResponse
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<&UploadSaltResponse> for UploadSaltResponse
impl From<&UploadSaltResponse> for UploadSaltResponse
Source§fn from(value: &UploadSaltResponse) -> Self
fn from(value: &UploadSaltResponse) -> Self
Converts to this type from the input type.
Source§impl From<UploadSaltResponse> for UploadSaltResponse
impl From<UploadSaltResponse> for UploadSaltResponse
Source§fn from(value: UploadSaltResponse) -> Self
fn from(value: UploadSaltResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for UploadSaltResponse
impl Serialize for UploadSaltResponse
Source§impl TryFrom<UploadSaltResponse> for UploadSaltResponse
impl TryFrom<UploadSaltResponse> for UploadSaltResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: UploadSaltResponse) -> Result<Self, ConversionError>
fn try_from(value: UploadSaltResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for UploadSaltResponse
impl RefUnwindSafe for UploadSaltResponse
impl Send for UploadSaltResponse
impl Sync for UploadSaltResponse
impl Unpin for UploadSaltResponse
impl UnwindSafe for UploadSaltResponse
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