pub struct SourceArguments {
pub source: Option<Source>,
pub source_reference: i64,
}Expand description
Arguments for a Source request.
Fields§
§source: Option<Source>Specifies the source content to load. Either source.path or
source.sourceReference must be specified.
source_reference: i64The reference to the source. This is the same as source.sourceReference.
This is provided for backward compatibility since old clients do not
understand the source attribute.
Trait Implementations§
Source§impl Clone for SourceArguments
impl Clone for SourceArguments
Source§fn clone(&self) -> SourceArguments
fn clone(&self) -> SourceArguments
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 SourceArguments
impl Debug for SourceArguments
Source§impl Default for SourceArguments
impl Default for SourceArguments
Source§fn default() -> SourceArguments
fn default() -> SourceArguments
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SourceArguments
impl<'de> Deserialize<'de> for SourceArguments
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 SourceArguments
impl RefUnwindSafe for SourceArguments
impl Send for SourceArguments
impl Sync for SourceArguments
impl Unpin for SourceArguments
impl UnsafeUnpin for SourceArguments
impl UnwindSafe for SourceArguments
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