Struct octorust::types::SourceAnyOf
source · pub struct SourceAnyOf {
pub source_data: SourceData,
pub source_data_type: SourceDataType,
}
Expand description
All of the following types are flattened into one object:
SourceData
SourceDataType
Fields§
§source_data: SourceData
Update the source for the repository. Must include the branch name, and may optionally specify the subdirectory /docs
. Possible values are "gh-pages"
, "master"
, and "master /docs"
.
source_data_type: SourceDataType
Update the source for the repository. Must include the branch name and path.
Trait Implementations§
source§impl Clone for SourceAnyOf
impl Clone for SourceAnyOf
source§fn clone(&self) -> SourceAnyOf
fn clone(&self) -> SourceAnyOf
Returns a copy 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 SourceAnyOf
impl Debug for SourceAnyOf
source§impl<'de> Deserialize<'de> for SourceAnyOf
impl<'de> Deserialize<'de> for SourceAnyOf
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 JsonSchema for SourceAnyOf
impl JsonSchema for SourceAnyOf
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq<SourceAnyOf> for SourceAnyOf
impl PartialEq<SourceAnyOf> for SourceAnyOf
source§fn eq(&self, other: &SourceAnyOf) -> bool
fn eq(&self, other: &SourceAnyOf) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SourceAnyOf
impl Serialize for SourceAnyOf
impl StructuralPartialEq for SourceAnyOf
Auto Trait Implementations§
impl RefUnwindSafe for SourceAnyOf
impl Send for SourceAnyOf
impl Sync for SourceAnyOf
impl Unpin for SourceAnyOf
impl UnwindSafe for SourceAnyOf
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