pub struct UpdateGraphVisibilityBody {
pub visibility: Visibility,
}Expand description
Body for PATCH /api/v1/u/{owner}/repos/{repo}/graphs/{id}/visibility.
JSON schema
{
"description": "Body for `PATCH /api/v1/u/{owner}/repos/{repo}/graphs/{id}/visibility`.",
"type": "object",
"required": [
"visibility"
],
"properties": {
"visibility": {
"$ref": "#/components/schemas/Visibility"
}
},
"additionalProperties": false
}Fields§
§visibility: VisibilityTrait Implementations§
Source§impl Clone for UpdateGraphVisibilityBody
impl Clone for UpdateGraphVisibilityBody
Source§fn clone(&self) -> UpdateGraphVisibilityBody
fn clone(&self) -> UpdateGraphVisibilityBody
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 UpdateGraphVisibilityBody
impl Debug for UpdateGraphVisibilityBody
Source§impl<'de> Deserialize<'de> for UpdateGraphVisibilityBody
impl<'de> Deserialize<'de> for UpdateGraphVisibilityBody
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
Auto Trait Implementations§
impl Freeze for UpdateGraphVisibilityBody
impl RefUnwindSafe for UpdateGraphVisibilityBody
impl Send for UpdateGraphVisibilityBody
impl Sync for UpdateGraphVisibilityBody
impl Unpin for UpdateGraphVisibilityBody
impl UnsafeUnpin for UpdateGraphVisibilityBody
impl UnwindSafe for UpdateGraphVisibilityBody
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