pub struct PendingChangeResponse {
pub based_on_version: i64,
pub body: Map<String, Value>,
pub created_at: String,
pub id: String,
pub project_id: String,
pub requested_by: Option<String>,
pub resolved_at: Option<String>,
pub signer_list_version: Option<i64>,
pub status: PendingChangeStatus,
pub summary: String,
}Expand description
PendingChangeResponse
JSON schema
{
"type": "object",
"required": [
"basedOnVersion",
"body",
"createdAt",
"id",
"projectId",
"status",
"summary"
],
"properties": {
"basedOnVersion": {
"description": "Signer list version the body was prepared from.",
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"body": {
"description": "The next list's body.",
"type": "object",
"additionalProperties": {}
},
"createdAt": {
"type": "string"
},
"id": {
"description": "Also the request id the pairing code covers.",
"type": "string"
},
"projectId": {
"type": "string"
},
"requestedBy": {
"description": "Who filed it, display only.",
"type": [
"string",
"null"
]
},
"resolvedAt": {
"type": [
"string",
"null"
]
},
"signerListVersion": {
"description": "Set when approved.",
"type": [
"integer",
"null"
],
"format": "int64",
"minimum": 0.0
},
"status": {
"$ref": "#/components/schemas/PendingChangeStatus"
},
"summary": {
"description": "Display only.",
"type": "string"
}
}
}Fields§
§based_on_version: i64Signer list version the body was prepared from.
body: Map<String, Value>The next list’s body.
created_at: String§id: StringAlso the request id the pairing code covers.
project_id: String§requested_by: Option<String>Who filed it, display only.
resolved_at: Option<String>§signer_list_version: Option<i64>Set when approved.
status: PendingChangeStatus§summary: StringDisplay only.
Implementations§
Source§impl PendingChangeResponse
impl PendingChangeResponse
pub fn builder() -> PendingChangeResponse
Trait Implementations§
Source§impl Clone for PendingChangeResponse
impl Clone for PendingChangeResponse
Source§impl Debug for PendingChangeResponse
impl Debug for PendingChangeResponse
Source§impl<'de> Deserialize<'de> for PendingChangeResponse
impl<'de> Deserialize<'de> for PendingChangeResponse
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<&PendingChangeResponse> for PendingChangeResponse
impl From<&PendingChangeResponse> for PendingChangeResponse
Source§fn from(value: &PendingChangeResponse) -> Self
fn from(value: &PendingChangeResponse) -> Self
Converts to this type from the input type.
Source§impl From<PendingChangeResponse> for PendingChangeResponse
impl From<PendingChangeResponse> for PendingChangeResponse
Source§fn from(value: PendingChangeResponse) -> Self
fn from(value: PendingChangeResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for PendingChangeResponse
impl Serialize for PendingChangeResponse
Source§impl TryFrom<PendingChangeResponse> for PendingChangeResponse
impl TryFrom<PendingChangeResponse> for PendingChangeResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: PendingChangeResponse) -> Result<Self, ConversionError>
fn try_from(value: PendingChangeResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for PendingChangeResponse
impl Freeze for PendingChangeResponse
impl Move for PendingChangeResponse
impl RefUnwindSafe for PendingChangeResponse
impl Send for PendingChangeResponse
impl Sync for PendingChangeResponse
impl Unpin for PendingChangeResponse
impl UnsafeUnpin for PendingChangeResponse
impl UnwindSafe for PendingChangeResponse
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