pub struct UpdatePrBody {
pub body: Option<String>,
pub title: Option<String>,
}Expand description
UpdatePrBody
JSON schema
{
"type": "object",
"properties": {
"body": {
"type": [
"string",
"null"
]
},
"title": {
"type": [
"string",
"null"
]
}
}
}Fields§
§body: Option<String>§title: Option<String>Implementations§
Source§impl UpdatePrBody
impl UpdatePrBody
pub fn builder() -> UpdatePrBody
Trait Implementations§
Source§impl Clone for UpdatePrBody
impl Clone for UpdatePrBody
Source§fn clone(&self) -> UpdatePrBody
fn clone(&self) -> UpdatePrBody
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 UpdatePrBody
impl Debug for UpdatePrBody
Source§impl Default for UpdatePrBody
impl Default for UpdatePrBody
Source§impl<'de> Deserialize<'de> for UpdatePrBody
impl<'de> Deserialize<'de> for UpdatePrBody
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<&UpdatePrBody> for UpdatePrBody
impl From<&UpdatePrBody> for UpdatePrBody
Source§fn from(value: &UpdatePrBody) -> Self
fn from(value: &UpdatePrBody) -> Self
Converts to this type from the input type.
Source§impl From<UpdatePrBody> for UpdatePrBody
impl From<UpdatePrBody> for UpdatePrBody
Source§fn from(value: UpdatePrBody) -> Self
fn from(value: UpdatePrBody) -> Self
Converts to this type from the input type.
Source§impl Serialize for UpdatePrBody
impl Serialize for UpdatePrBody
Source§impl TryFrom<UpdatePrBody> for UpdatePrBody
impl TryFrom<UpdatePrBody> for UpdatePrBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: UpdatePrBody) -> Result<Self, ConversionError>
fn try_from(value: UpdatePrBody) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for UpdatePrBody
impl RefUnwindSafe for UpdatePrBody
impl Send for UpdatePrBody
impl Sync for UpdatePrBody
impl Unpin for UpdatePrBody
impl UnsafeUnpin for UpdatePrBody
impl UnwindSafe for UpdatePrBody
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