pub fn gen_update_secret<'a, W: Write + BackToTheBuffer + 'a>(
        method: &'a UpdateSecret,
    ) -> impl SerializeFn<W> + 'a {
        move |mut input| {
            input = gen_id(70)(input)?;
            input = gen_long_string(method.new_secret.as_bytes())(input)?;
            input = gen_short_string(method.reason.as_str())(input)?;
            Ok(input)
        }
    }
/// Serialize update-secret (Generated)
Serialize update-secret (Generated)
Serialize update - secret ( Generated )
pub fn gen_update_secret<'a, W: Write + BackToTheBuffer + 'a>(
        method: &'a UpdateSecret,
    ) -> impl SerializeFn<W> + 'a {
        move |mut input| {
            input = gen_id(70)(input)?;
            input = gen_long_string(method.new_secret.as_bytes())(input)?;
            input = gen_short_string(method.reason.as_str())(input)?;
            Ok(input)
        }
    }
pub fn gen_update_secret < ' a , W : Write + BackToTheBuffer + ' a > ( method : & ' a UpdateSecret , ) -> impl SerializeFn < W > + ' a { move | mut input | { input = gen_id ( 70 ) ( input ) ? ; input = gen_long_string ( method . new_secret . as_bytes ( ) ) ( input ) ? ; input = gen_short_string ( method . reason . as_str ( ) ) ( input ) ? ; Ok ( input ) } }
Serialize update-secret (Generated)
Serialize update - secret ( Generated )
method
&'a UpdateSecret