#[non_exhaustive]pub struct NamespaceGuideSetInput {
pub org: Option<String>,
pub namespace: Option<String>,
pub content: String,
pub summary: Option<Option<String>>,
pub expected_revision: Integer,
pub note: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.org: Option<String>§namespace: Option<String>§content: String§summary: Option<Option<String>>§expected_revision: Integer§note: Option<String>Implementations§
Source§impl NamespaceGuideSetInput
impl NamespaceGuideSetInput
pub fn new( content: impl Into<String>, expected_revision: impl Into<Integer>, ) -> Self
pub fn org(self, org: impl Into<String>) -> Self
pub fn namespace(self, namespace: impl Into<String>) -> Self
pub fn summary(self, summary: impl Into<String>) -> Self
pub fn summary_null(self) -> Self
pub fn note(self, note: impl Into<String>) -> Self
pub async fn send( self, client: &Client, options: CallOptions, ) -> Result<CallResult<NamespaceGuideSetOutput>, CallFailure>
Trait Implementations§
Source§impl Clone for NamespaceGuideSetInput
impl Clone for NamespaceGuideSetInput
Source§impl Debug for NamespaceGuideSetInput
impl Debug for NamespaceGuideSetInput
Source§impl<'de> Deserialize<'de> for NamespaceGuideSetInput
impl<'de> Deserialize<'de> for NamespaceGuideSetInput
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 PartialEq for NamespaceGuideSetInput
impl PartialEq for NamespaceGuideSetInput
Source§impl Serialize for NamespaceGuideSetInput
impl Serialize for NamespaceGuideSetInput
impl StructuralPartialEq for NamespaceGuideSetInput
Auto Trait Implementations§
impl Forget for NamespaceGuideSetInput
impl Freeze for NamespaceGuideSetInput
impl Move for NamespaceGuideSetInput
impl RefUnwindSafe for NamespaceGuideSetInput
impl Send for NamespaceGuideSetInput
impl Sync for NamespaceGuideSetInput
impl Unpin for NamespaceGuideSetInput
impl UnsafeUnpin for NamespaceGuideSetInput
impl UnwindSafe for NamespaceGuideSetInput
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